Re: PHP can not connect to mysql

From: Date: Fri, 31 May 2002 14:05:44 +0000
Subject: Re: PHP can not connect to mysql
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100093@lists.php.net to get a copy of this message
Check permissions on '/var/lib/mysql/mysql.sock' I seem to remember having this problem in the past... Mikey "Andy" <news.letters@gmx.de> wrote in message news:20020531133929.23399.qmail@pb1.pair.com... > Hi there, > > I am runningn suse72 and there was a mysql installation with the rpm > installed. so I did try to get rid of all the stuff I found from the old > mysql installation (with yast) and compiled mysql from source. Server is > running now. Unfotuantelly php is still trying to connect to the old > version. phpinfo tells me the old mysql version number. > > This is what I am gettinng from php: > > Warning: Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) in > > Server is definatelly running. Not the old one though! I killed the old > process which was anyhow running. > > Can anybody help on that? > > Thank you very much in advance, > > Andy > >

« previous php.general (#100093) next »