Hello,
I have a problem with the mysql-4.1.21 unix socket in /var/run/mysqld.sock
because if I do a:
mysql --no-defaults -u root -p ...
I get the following error:
ERROR 2002 (HY000): Can't connect to local MySQL server through
socket ''/var/run/mysqld/mysqld.sock'' (2)
The socket is created by mysql and ls -l shows the following:
-rw-rw---- 1 mysql mysql 6 Nov 30 16:11 mysqld.pid
srwxrwxrwx 1 mysql mysql 0 Nov 30 16:11 mysqld.sock
and ls -l /var/run/| grep mysql
drwxr-xr-x 2 mysql mysql 4096 Nov 30 16:11 mysqld
netstat -lpa | grep mysql has the following output:
unix 2 [ ACC ] STREAM LISTENING
18571846 - /var/run/mysqld/mysqld.sock
unix 3 [ ] STREAM CONNECTED
18690540 - /var/run/mysqld/mysqld.sock
Seems okay. But there are many CONNECTED entries. I upgraded from an earlier
mysql installation.
Any suggestions why the mysql and all the other programs which connect over
the socket are not able to connect? Could a reboot help?
Regards
Jan
--
[email protected] mailing list