HI
If I start nscd and run "id bart"
this error shows up
libnss-mysql: Connection to server 'localhost' failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
if I stop nscd - all work correctly.
My /etc/hosts has record
127.0.0.1 localhost
When I change host localhost to 127.0.0.1 in libnss-mysql.cfg all work ok.
Where is a problem?
os: RHEL 3
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HI
If I start nscd and run "id bart"
this error shows up
libnss-mysql: Connection to server 'localhost' failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
if I stop nscd - all work correctly.
My /etc/hosts has record
127.0.0.1 localhost
When I change host localhost to 127.0.0.1 in libnss-mysql.cfg all work ok.
Where is a problem?
os: RHEL 3
My mistake
After upgrading mysql I added mysql user with wrong permission to /var/lib/mysql