Dear all,
When I started my machine, I found that the service of mysqld is started [OK]. However, when I tried to login the mysql server, there was an error message prompted:
ERROR 2002: Can't connect to local MySql through socket '/var/lib/mysql/mysql.sock'
When I tried to check the status of mysql, the response was "running". As I restarted the service several times, the stopping action was [failed] but the starting action reported [OK]. I still could not access the database. Then I've rebooted the system but in vain.
Would you mind telling me how can I recover this service ?Please help !!
My enviornment is as follows:
Linux 7.2
Apache-1.3.20-16
MySql-3.23.41-1
When I started my machine, I found that the service of mysqld is started [OK]. However, when I tried to login the mysql server, there was an error message prompted:
ERROR 2002: Can't connect to local MySql through socket '/var/lib/mysql/mysql.sock'
When I tried to check the status of mysql, the response was "running". As I restarted the service several times, the stopping action was [failed] but the starting action reported [OK]. I still could not access the database. Then I've rebooted the system but in vain.
Would you mind telling me how can I recover this service ?Please help !!
My enviornment is as follows:
Linux 7.2
Apache-1.3.20-16
MySql-3.23.41-1