Click to See Complete Forum and Search --> : mysql install problems


GTB
12-18-2000, 01:08 PM
Hello again. I've been trying to install mysql for the past few days. It was up and running once, and I don't know why...but it won't work anymore. I used the binary install on a Caldera Linux server. When I try to run any of the utilties, I get the following error message:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

First of all, I don't have a /var/lib/mysql directory, or a mysql.sock file anywhere on the hard drive. I'm confused because it was working and I didn't change anything. Any help is most appreciated! Thanks.

GTB
12-19-2000, 09:44 AM
Anyone?

The mysql.sock file doesn't exist or come with the tarball either. Do I have to find it somewhere else?

Taylor
12-19-2000, 10:44 AM
mysql.sock should be created when mysql starts. you can try creating it by 'mkdir /var/lib/mysql' and 'touch /var/lib/mysql/mysql.sock'

/var/lib/mysql is a weird place to have mysql installed.

I can not offer much help as I am still learning about mysql myself. I installed mysql from source with the docs from their website. I had no problems.


------------------
-Taylor

[This message has been edited by Taylor (edited 19 December 2000).]

GTB
12-19-2000, 12:00 PM
Thanks for the try Taylor. I think I figured it out though. There was a bunk RPM install of mysql. I had to get rid of that first. Now it seems to be working. http://www.linuxnewbie.org/ubb/biggrin.gif