Quote:
Originally Posted by TECK
Code:
ln /var/lib/mysql/mysql.sock /srv/var/lib/mysql/mysql.sock
I tried to add it into init.d mysqld start() function, but this is a very cheap method, and it does not work. Do you have an elegant solution for me?
|
Add ln command to /etc/rc.local file, make sure mysql get started before /etc/rc.local