On Tue, 26 Mar 2002, colin o wrote:

> Same thing happens to me,
>
> i just use bin/safe_mysqld --user=root &
> to start to server so that i can use mysql.
> I don't know exactly why it happens though.
> Possibly permissions??

It is better to run mysqld as a non-root user, such as mysql.

> --- Mike Yrabedra <[EMAIL PROTECTED]> wrote:
> >
> > What would cause this error to occur all of a
> > sudden?
> >
> > ERROR 2002: Can't connect to local MySQL server
> > through socket
> > '/tmp/mysql.sock' (2)

Is the socket? It should show up in a directory listing of /tmp - if it
isn't there then mysqld isn't running.

Andy


---------------------------------------------------------------------
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