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/mysql-server.sh start

as root should do the trick.

To have mysql-server start automagically, add:

mysql_enable="YES"

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.

KDK

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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to