PDA

View Full Version : MySQL


piplio
02-16-2004, 12:12 PM
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

piplio
02-16-2004, 12:43 PM
and i also checked:

tmp/mysql.sock'

doesn't exist

l0rdphi1
02-16-2004, 05:14 PM
Just guessing here... but is mysql running?

SSH: service mysqld start

DirectAdmin Support
02-17-2004, 09:37 AM
I found a weird server the other day with the same issue. The fix was this:

killall -9 mysqld
service mysqld startnot 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