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: Tina Chang
Date: December 12, 2006 11:01AM

Hi, this is what I did, although I don't know if that's correct (I'm a newbie in this). First, see if the file exists in the directory (if not, create an empty mysqld.sock file). In the file my.cnf, comment the line old_passwords = 1

Then, as root, do:

#mysql_install_db
#cd /usr
#/usr/bin/mysqld_safe &

Well, hope it works!

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)
December 12, 2006 11:01AM


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.