Peter Michaux wrote:

# mysql -uroot
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'tmp/mysql.sock' (2)

What to do?

The server isn't running.  Start it, and this message
will go away.

If the port/package is correctly installed, then

$ /usr/local/etc/rc.d/ start

as root should do the trick.

To have mysql-server start automagically, add:


to the file /etc/rc.conf

BTW, shouldn't there be a space between the "-u"
and the "root" ?  Probably just a c-n-p error.


We are all in the gutter, but some of us are looking at the stars.
                -- Oscar Wilde

_______________________________________________ mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to