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

Alf Stockton alf at stockton.co.za
Wed Jan 28 11:06:42 GMT 2009

Raoul Snyman wrote:
> On Wed, 28 Jan 2009 12:51:20 +0200, Louis van der Merwe
> <themandibleclaw at gmail.com> wrote:
>> it was worth a shot :-)
> Tried specifying "localhost" in the connection?
> mysql -h localhost -u root -p
That gives me:-

root at general:~# mysql -h localhost -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/var/lib/mysql/mysql.sock' (111)

Alf Stockton		www.stockton.co.za

The devil can cite Scripture for his purpose.
		-- William Shakespeare, "The Merchant of Venice"

More information about the ubuntu-za mailing list