MySQL

piplio

New member
Joined
Feb 16, 2004
Messages
4
Location
Toronto, Ontario
hi there, DA was installed half an hour ago or so, and after i created a couple accounts, this message popped up.

Error connecting to MySQL: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

then i searched the forum, didn't see anything related to this, maybe i didn't read carefully.

can anyone help me out here?

thanks
 
Just guessing here... but is mysql running?

SSH: service mysqld start
 
I found a weird server the other day with the same issue. The fix was this:
Code:
killall -9 mysqld
service mysqld start
not sure why it did that, but I think one of the deamons wasn't stopping so the forced kill was required.

Also check /tmp/my.cnf to make sure it's still pointing to the same socket (if that file exists).

John
 
Back
Top