Difference between revisions of "Talk:UpgradeDisk"

From SME Server
Jump to navigationJump to search
(New page: This HOWTO really saved me. The only notes I have to add is concerning the mysql db's. The mysql db's are kept in: /var/lib/mysql Stop the mysql service: service mysqld stop Change di...)
(No difference)

Revision as of 08:43, 24 December 2008

This HOWTO really saved me. The only notes I have to add is concerning the mysql db's.

The mysql db's are kept in: /var/lib/mysql

Stop the mysql service:

 service mysqld stop

Change directories to the old mysql:

cd /mnt/old/var/lib/mysql/

Copy the mysql db's to the new install:

cp -R ./mysql /var/lib/

Change directories to the new mysql:

 cd /var/lib/

Change the ownership on the new install mysql directory:

 chown -R mysql:mysql ./mysql

Restart the mysqld service:

 service mysqld start