#19424 [Opn->Csd]: Can't connect to MySQL server (/tmp/mysql.sock)

From: Date: Mon, 16 Sep 2002 13:12:54 +0000
Subject: #19424 [Opn->Csd]: Can't connect to MySQL server (/tmp/mysql.sock)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19453@lists.php.net to get a copy of this message
ID: 19424 Updated by: sniper@php.net Reported By: nick@climbers.net -Status: Open +Status: Closed Bug Type: MySQL related Operating System: Debian Woody/Linux 2.4.18 PHP Version: 4.2.3 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-09-15 16:54:58] nick@climbers.net Although it works fine in PHP 4.2.2, the upgrade to 4.2.3 seems to have broken the ./configure script, so that it can no longer identify the correct location of the mysql.sock file. The script guesses it as /tmp/mysql.sock, but it is /var/run/mysqld/mysqld.sock on my system (and as I say, 4.2.2 gets this correct) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19424&edit=1

« previous php.bugs (#19453) next »