MySQL Forums :: Newbie :: MySQL error, please help

Advanced Search

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

Subject Written By Posted
MySQL error, please help Kisanka Rathnayake 03/27/2009 04:31AM
Re: MySQL error, please help Peter Brawley 03/27/2009 08:22AM

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.