Hi all,
I've had mysql 4.0.12 server and client runnning for about six months now, but haven't used it lately. Now when I need it, it is giving this error message:
[root@tunes sbin]# mysql -p
Enter password:
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
mysql server and client are the same box.
I've checked that mysqld is running:
[root@tunes sbin]# ps -xa | grep mysql
7476 pts/0 S 0:00 grep mysql
I've checked that mysql.sock exists in /var/lib/mysql
I've restarted the server (mysql daemon).
I can't run mysqladmin or anything.
Any ideas?
Thanks,
HC
I've had mysql 4.0.12 server and client runnning for about six months now, but haven't used it lately. Now when I need it, it is giving this error message:
[root@tunes sbin]# mysql -p
Enter password:
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
mysql server and client are the same box.
I've checked that mysqld is running:
[root@tunes sbin]# ps -xa | grep mysql
7476 pts/0 S 0:00 grep mysql
I've checked that mysql.sock exists in /var/lib/mysql
I've restarted the server (mysql daemon).
I can't run mysqladmin or anything.
Any ideas?
Thanks,
HC