I need to move the MySQL folder to another drive.  My thought was to
do the following:

1) service mysql stop
2) mv /var/lib/mysql /var/lib/foo/mysql
3) ln -s /var/lib/foo/mysql /var/lib
4) service mysql start

This didn't work as mysql never started up.  The command just stayed
there on the screen.  So, I stopped it and moved things back:

1) rm /var/lib/mysql
2) mv /var/lib/foo/mysql /var/lib
3) service mysql start

Came up like a charm.

Why didn't the softlink work?  I am very sure I have had this work in the past.

Using Ubuntu 10.04 and MySQL 5.1.41-3ubuntu12

Regards,
- Robert

-- 
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: [email protected]
To subscribe: [email protected]
To unsubscribe: [email protected]
More options: http://groups.google.com/group/cwelug

Reply via email to