Re: Re: Re: cant connect to mysql server through socket

2003-07-30 Thread Petre Agenbag
Don't stare too long at the Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) , it will blind you after a couple of minutes ;p Seriously, the fact that the sock file is not there simply tells me that mysql is not running, ie, even if you could "copy" a mysql.sock f

Re: Re: cant connect to mysql server through socket

2003-07-30 Thread Petre Agenbag
Did you build mysql yourself, or did you install it along with Suse? If it's installed with suse, start the mysql service via the suse method (not sure what that is, on RedHat, one would simply say service mysqld start). If you built it by installing the binary, then your mysql should be located i

Re: cant connect to mysql server through socket

2003-07-27 Thread Petre Agenbag
1) make sure mysql is running [and as user mysql] do a ps -aux to see. 2) make sure that the mysql folder and files are owned by mysql (ls -l) On Sun, 2003-07-27 at 10:38, D. K. wrote: > Hi; > I have installed suse 8.2 a short while ago and at my first attempt to connect mysql > (via shell and

Re: cant connect to mysql server through socket

2003-07-27 Thread Sanya Shaik
What version of mysql are you using ? check the location of mysql.sock it probably is in /tmp/mysql/mysql.sock check the sock location in my.cnf --- "D. K." <[EMAIL PROTECTED]> wrote: > Hi; > I have installed suse 8.2 a short while ago and at > my first attempt to connect mysql (via shell a

cant connect to mysql server through socket

2003-07-27 Thread D. K.
Hi; I have installed suse 8.2 a short while ago and at my first attempt to connect mysql (via shell and a perl dbi script) i get following error: can't connect to mysql server through socjet '/var/lib/mysql/mysql.sock'. i know this looks like a common error and I am terribly sorry if this kind