Look at the error log file: YOURHOSTNAME.err, in the "database" directory of MySQL (usualy in /var/mysql/data or /var/lib/mysql/)
You should have an my.cnf file (in /etc ) that definies the location of the mysql.sock
Also perhaps the server IS running (=> a.marsh's comment) but the client you use is not able to detect where the mysql.sock file is. Pay attention if the client ask for the location of the my.cnf file and verify that the path to mysql.sock is readable for the client.
Hope this helps...
Main Topics
Browse All Topics





by: a.marshPosted on 2002-09-18 at 05:35:37ID: 7288006
That implies that the mysql server is not running.
mysqld
From a shell in Linux run:
ps -ax | grep mysqld
If the server is running you will get some results returned (in addition to the "grep mysqld")
If not then you need to start the mysql server.
This will be something like:
/usr/local/mysql/bin/safe-
:o)
Ant