Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL Socket Errors

Status
Not open for further replies.

TylerP

Programmer
Apr 23, 2002
1
GB
Hello all, I'm using MySQL 3.23 on a Slackware 8 machine. I have compiled it and can get mysqld up and running. Problem is, after I get it running I can't do anything. By that I mean I will get the following error when try to run pretty much any command.

mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/var/run/mysql/mysql.sock' exists!


Now, mysql.sock exists and I have the following permissions set on it in that directory:

root@XERES:/var/run/mysql# ls -l mysql.sock
srwxrwxrwx 1 mysql mysql 0 Nov 28 15:07

Any help on this situation would be *greatly* appreciated as I've been having this problem for about a week now and have yet to find anyone who could solve it:p Thank you in advance.

Tyler
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top