MySQL & Sockets

From: Date: Fri, 24 Sep 1999 15:19:37 +0000
Subject: MySQL & Sockets
Groups: php.dev 
Request: Send a blank email to php-dev+get-11273@lists.php.net to get a copy of this message
I have recently installed php3 with MySQL and Apache on RedHat 6.0. I can run the ol' introductory phpinfo() command without a problem, but when I try to connect to a database, I get an error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in ... Now, when I call up the status of MySQL, the unix socket in use is /var/lib/mysql/mysql.sock. How can I change php to look there? Thanks much, Matt

« previous php.dev (#11273) next »