List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:August 31 2006 3:58pm
Subject:Re: CentOS 4.3 - MySQL - NIS user issue
View as plain text  
In the last episode (Aug 31), Tom Brown said:
> All my users are NIS users and they can access this box fine. I have
> a MySQL server running on this box that is running fine. The OS
> 'root' user can authenticate and use MySQL fine as this is not a NIS
> user e.g.
> [root@xxxxxxx]# mysql -u bugs -pxxxx bugs
> Reading table information for completion of table and column names
> You can turn off this feature to get a quicker startup with -A
> now when a NIS user tries to use the db
> [root@xxxx]# su - bugzilla
> bugzilla@xxxx$ mysql -u bugs -pxxxx bugs
> ERROR 2002: Can't connect to local MySQL server through socket 
> '/var/lib/mysql/mysql.sock' (13)
> any ideas why this is or what i can do to make it work?

$ perror 13
OS error code  13:  Permission denied

Make sure that /var/lib/mysql/mysql.sock is world-readable.  I doubt
this has anything to do with NIS.

	Dan Nelson
CentOS 4.3 - MySQL - NIS user issueTom Brown31 Aug
  • Re: CentOS 4.3 - MySQL - NIS user issueDan Nelson31 Aug
  • Re: CentOS 4.3 - MySQL - NIS user issueWai-Sun Chia4 Sep