Line 1: |
Line 1: |
− | 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
| |