[snip]
Do I have to reinstall mysql in order to change the default data dir from
/var/lib/mysql?
Can I do this:
mv /var/lib/mysql /newdir/mysql
cd /var/lib
ln -s /newdir/mysql mysql
[/snip]
This should work. You could also change the datadir variable in your my.cnf
file instead of creating the
Do I have to reinstall mysql in order to change the default data dir
from /var/lib/mysql?
Can I do this:
mv /var/lib/mysql /newdir/mysql
cd /var/lib
ln -s /newdir/mysql mysql
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.co