Duh... sorry brain fried, the daemon wasn't runnning.
FYI, if you are looking through the newbie archives you can start the daemon
by doing:
/usr/share/mysql/mysql.server start
And check here for more info:
http://www.mysql.com/doc/manual.php?search_query=ERROR+2002&depth=0
and
http://www.mysql.com/doc/A/u/Automatic_start.html
cheers!
> -----Original Message-----
> From: Mark Johnson
> Sent: Thursday, August 16, 2001 1:12 PM
> To: LinuxNewbie (E-mail)
> Subject: [newbie] ERROR 2002: Can't connect to local MySQL server
> through socket '/ var/lib/mysql/mysql.sock' (111)
>
>
> Can someone help me with this error? It seems like every
> installation of
> linux is unique. I've got 4 machines with MySQL and each one
> has it's own
> special MySQL problems.... all machines were installed from
> the Mandrake 8.0
> cd.... arrrgh!!!!
>
> [mjohnson@ripley mjohnson]$ su
> Password:
> [root@ripley mjohnson]# mysql -u root mysql -p
> Enter password:
> ERROR 2002: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (111)
> [root@ripley mjohnson]#
>
>
> ps: I wish you could save your configuration settings to
> floppy during the
> initial install and then use the floopy to install setup the
> other machines
> without having to do it all by hand again...
>
>
>
Want to buy your Pack or Services from MandrakeSoft?
Go to http://wwww.mandrakestore.com