I have mysql installed with the data dir
/var/lib/mysql
However var is @ 95% usuage:
I did the following:
- stopped Apache and Mysql
- mv /var/lib/mysql /home/mysql/
- ln -s /home/mysql/mysql /var/lib/mysql
- started apache and mysql
Mysql seemed to start OK [with using databases in /var/lib/mysql]but apache couldsn't connect saying 'can't connect to mysql@localhost'
I reversed the process and everything worked.
Did I miss something?