[ubuntu-za] Can't connect to local MySQL server

Alf Stockton alf at stockton.co.za
Wed Jan 28 10:22:02 GMT 2009


I get :-
ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/var/lib/mysql/mysql.sock' (111)
when I attempt to mysql -u root -p

even though the user and password is correct and
root at general:~# ls -al /tmp/mysql.sock
lrwxrwxrwx 1 root root 25 2009-01-28 10:18 /tmp/mysql.sock -> 
/var/lib/mysql/mysql.sock
root at general:~# ls -al /var/lib/mysql/mysql.sock
-rw-r--r-- 1 root root 0 2009-01-28 11:40 /var/lib/mysql/mysql.sock

please tell me what I need to fix.

-- 
Regards,
Alf Stockton		www.stockton.co.za

You feel a whole lot more like you do now than you did when you used to.



More information about the ubuntu-za mailing list