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
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!
If you have knowledge, let others light their candles at it.
Certified to work on
HP-UX /
Sun Solaris /
RedHat