Re: help with mysql.sock error

2001-09-11 Thread harry amarantidis
I had the same problem with suse 7.2. I see that the path to mysql.sock is /var/lib/mysql/mysql.sock. this location of mysql.sock was a leftover from the mysql that i installed from the distribution. the downloaded version though stores the mysql.sock in /tmp/mysql.sock - i had to tell a few of my

Re: help with mysql.sock error

2001-09-10 Thread Trond Eivind Glomsrød
adam <[EMAIL PROTECTED]> writes: > I am having trouble with mysql... i keep getting > "ERROR 2002: Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2)" You probably didn't start it the correct way, by using the included initscript ("/etc/init.d/mysqld", also us

Re: help with mysql.sock error

2001-09-10 Thread Mike Rogers
su nobody ls -l /var/lib/mysql/mysql.sock Whatever user is trying to get it [such as nobody for a web server usually or the user]- make sure the user can access the file. Make sure you don't have maybe /var/lib/mysql to be 750 or something like that. Permissions is a big one. -- Mike - Or