Follow the steps :-

1. Check mysqld is running or not

> /etc/init.d/mysql status

2. If not > /etc/init.d/mysql start

If error occurs , check the logs & usually this error means ur server is not running at the moment.


Good Luck !

Claudio Nanni wrote:
You have 2 options: use tcp/ip or find the right .sock file

use this:
mysql -uUSER -p -h127.0.0.1 -P3306

or check in the my.cnf where the server creates the .sock file
you have to use the same with the local client.

Ciao Mad!

Claudio



2011/8/23 Andrew Moore <eroomy...@gmail.com>

That's too bad. How did you configure things? What trouble shooting have
you
done so far?
On Aug 23, 2011 9:18 AM, "madu...@gmail.com" <madu...@gmail.com> wrote:
When I try to start my mysql DB I keep getting the following message:
"Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock'"

Thanks

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=eroomy...@gmail.com





Reply via email to