View Single Post
  #10 (permalink)  
Old 12th November 2007, 07:11 PM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Is that all you got?
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 823
Thanks: 21
Thanked 37 Times in 32 Posts
Rep Power: 12
rockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to behold
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.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote