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: Peter Ludanyi
Date: March 28, 2005 02:02AM

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

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,
Peter Ludanyi
from Hungary

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 28, 2005 02:02AM


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.