On Wed, 13 Jun 2001, Brian Walker wrote:

> I've established that the MySQL server is running, but I cannot create
> or do anything with it.  Here is some examples.
>
> ERROR 2002: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (111)

It probably created mysql.sock somewhere else on your machine. Look in
/tmp; if that doesn't work, try find / -name "mysql.sock" to search your
whole disk for it.

Once you've found it, type:

cd /var/lib/mysql
ln -s /tmp/mysql.sock mysql.sock

substituting the correct path name for /tmp/mysql.sock. This will create a
symbolic link between /var/lib/mysql/mysql.sock and /tmp/mysql.sock so
that both of them are treated as the same file. Then everything should
work.

-Philip Mak ([EMAIL PROTECTED])



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to