View Single Post

  #10 (permalink)  
Old 11-12-2007, 08:11 PM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Quote:
Originally Posted by TECK View Post
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
Reply With Quote