MySQL Forums
Forum List  »  Install & Repo

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Posted by: enora doku
Date: December 27, 2004 10:17AM

Hi everybody,
I am a new to this forum. Is about a year that i use mysql and I didn't have a problem.

But today the mysq does not started.
When i try to login it gives an error:

mysql -u root -p
Enter password: ***
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I dont understand why.
The mysqld directory and mysqld.sock does not exist.
How can i create the mysqld.sock and what can i write inside?

If someone knows how to resolve this problem please tell me.

Thanks in advance,
Enora

Options: ReplyQuote


Subject
Written By
Posted
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
December 27, 2004 10:17AM


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.