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: mshanker1
Date: January 06, 2007 12:15AM

To add to my previous post, I have discovered the following;

If I delete all the files in /var/lib/mysql, but not the /var/lib/mysql/mysql directory, and then run /etc/init.d/mysql start, it creates the databases again, and mysqld works. But, if I restart the daemon now, I get the same error. Aaahh.

I guess, I can start it once, and never shut it down. Luckily, I am running Linux.

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)
January 06, 2007 12:15AM


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.