Toolpack migration Debian4 2-3

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(add mysql connection through host name)
(add disable 2.2 system)
Line 35: Line 35:
  
 
   /etc/init.d/mysql restart
 
   /etc/init.d/mysql restart
 +
 +
 +
=== Disable Release 2-2 Service ===
 +
 +
  tbtoolpack disable 2.2
 +
  
 
== Toolpack System installation ==
 
== Toolpack System installation ==
  
 
Now that the prerequisite are installed, we can go back to the migration guide [[Toolpack_migration_2-3|Toolpack migration 2-3]].
 
Now that the prerequisite are installed, we can go back to the migration guide [[Toolpack_migration_2-3|Toolpack migration 2-3]].

Revision as of 07:51, 5 June 2009

This page shows the Toolpack 2-4 migration guide for Debian 4.


Contents

Toolpack Migration Steps

Create new database user

Connect to MySQL and create a new user tbdb with all privilege. If you are unable to connect, use an IP Address instead of the [HostName].

 mysql -u root -h '[HostName]'
 CREATE USER 'tbdb'@'%' IDENTIFIED BY '[DatabasePassword]';
 GRANT ALL privileges ON *.* TO 'tbdb'@'%' IDENTIFIED BY '[DatabasePassword]';
 exit

Example

 mysql -u root -h debian64-01
 CREATE USER 'tbdb'@'%' IDENTIFIED BY 'tbdbpw';
 GRANT ALL privileges ON *.* TO 'tbdb'@'%' IDENTIFIED BY 'tbdbpw';
 exit


Install ODBC MySQL connector

 apt-get install libmyodbc


Configure ODBC driver manager

 odbcinst -i -f /usr/share/libmyodbc/odbcinst.ini -d


Restart MySQL service

 /etc/init.d/mysql restart


Disable Release 2-2 Service

 tbtoolpack disable 2.2


Toolpack System installation

Now that the prerequisite are installed, we can go back to the migration guide Toolpack migration 2-3.

Personal tools