Click to See Complete Forum and Search --> : $#@)#($*& MySQL not loading :)


Sweet Leaf
10-30-2001, 09:24 PM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

???
I dont get it.
Apache is runnin fine (I think)
TurboLinux 6.5 Server..

PLease help o Linux Gods.

"I think I may just go to FreeBSD since it seems to work as advertised everytime."

stiles
10-30-2001, 10:01 PM
does /var/lib/mysql/mysql.sock exist?
what's it's permissions (do a ls -l)?

if it doesn't exist in the above location do this:

find / -name mysql.sock -print 2> /dev/null

Now if you find the socket but it's in a different location, you can link it. If it's not found on your system you prob didn't install the client (I think the client creates the socket).