Talk:UpgradeDisk

From SME Server
Revision as of 08:43, 24 December 2008 by Kruhm (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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