Re: Problem with MySql Installation with PHP & Apache on Red Hat Linux 7.3

From: Date: Wed, 09 Apr 2003 05:48:01 +0000
Subject: Re: Problem with MySql Installation with PHP & Apache on Red Hat Linux 7.3
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-10556@lists.php.net to get a copy of this message
joylan@joylanfurtado.com wrote:
I have installed MySql server and database with PHP and a Apache server on a system running Red Hat Linux 7.3. When I try to run mysql, I get the message ERROR 2002 : Can't connect to local MySQL Server through socket '/var/lib/mysql/mysql.sock' (2)
check where my.cnf shows socket = Old place was /var/lib/mysql/mysql.sock New place is /tmp/mysql.sock Change it accordingly and it will work. bye Ronald
Any help would be appreciated. Thanks J. Simon
-- Ronald Wiplinger Consultant, IT department http://www.ortv.com T: +886 (0)2 2533-8082, F: +886 (0)2 2532-6406, M: +886 (0)915 653-452

« previous php.install (#10556) next »