MySQL Forums
Forum List  »  Newbie

MySQL error, please help
Posted by: Kisanka Rathnayake
Date: March 27, 2009 04:31AM

Server running FreeBSD, when I try to connect it gives an error.

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

what could I do? mysql.sock file doesn't exist in the /tmp directory.

Options: ReplyQuote

Written By
MySQL error, please help
March 27, 2009 04:31AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.