[rt-users] More MySql troubles

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Thu Dec 28 18:34:14 EST 2000


On Thursday, December 28, 2000 04:23:12 PM -0700, Robert McDuffee 
<rmcduffee at virsage.com> wrote:
+-----
| I have done some more work on my connection issues and found that I cannot
| connect to the database (any of them) when logged in to the system as
| anyone other than root.  Below is an example of the error I get when
| logging in as 'bob'.
|
| [bob at support1 bob]$ mysqladmin -u root status
| mysqladmin: connect to server at 'localhost' failed
| error: 'Can't connect to local MySQL server through socket
| '/var/lib/mysql/mysql
| sock' (111)'
| Check that mysqld is running and that the socket:
| '/var/lib/mysql/mysql.sock' ex
| ists!
+--->8

Sounds to me like /var/lib/mysql is only accessible by root.  You should 
probably chmod o+rx it.

-- 
brandon s. allbery     [os/2][linux][solaris][japh]    allbery at kf8nh.apk.net
system administrator        [WAY too many hats]          allbery at ece.cmu.edu
electrical and computer engineering                                    KF8NH
carnegie mellon university      ["better check the oblivious first" -ke6sls]





More information about the rt-users mailing list