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: engin yilmaz
Date: October 10, 2007 12:12PM

I run into the same problem, if I try to load mysql through startup scripts it gives the error and not starts.However its process number still there, so find its pid and kill it then restart via command line.

ps -A | grep mysql

and kill the process number any related to mysql and start it with command

/etc/init.d/mysql start

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)
October 10, 2007 12:12PM


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.