Re: MySQL Error

From: Date: Tue, 10 Jul 2001 19:24:58 +0000
Subject: Re: MySQL Error
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10224@lists.php.net to get a copy of this message
Hi, > Dear Experts > > When ever i try to run MySQL under linux it gives me following error > > ERROR 2002 : can't connect to local MYSQL server through socket '/var/lib/mysql.sock' (111) this is with PHP isn't it? can you log in the monitor and then type SHOW VARIABLES. A long list will be displayed where the socket is listed aswell. Then check if the file mysql.sock is in the specified directory. You can also check in the "my.cnf" what the socket is. I don't know the exact path where my.cnf is located but I think on my SuSE box it was /etc Usually it is in /tmp I think. hope it helped Johannes

« previous php.db (#10224) next »