MySQL Forums
Forum List  »  Install & Repo

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Posted by: Heinrich Krupp
Date: March 02, 2005 06:46AM

Had the same problem.
Try to start the mysql server first:

# mysqld
050302 13:39:59 InnoDB: Started
mysqld: ready for connections.
Version: '4.0.23_Debian-7-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Source distribution

After that you should be able to connect.

Options: ReplyQuote


Subject
Written By
Posted
Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
March 02, 2005 06:46AM


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.