Re: PDO_MYSQL connect fallback from localhost do /tmp/mysql.sock

From: Date: Wed, 08 Nov 2006 01:16:45 +0000
Subject: Re: PDO_MYSQL connect fallback from localhost do /tmp/mysql.sock
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4318@lists.php.net to get a copy of this message
Hello, On 11/8/06, Andreas Korthaus <akorthaus@web.de> wrote:
In phpinfo() the setting "MYSQL_SOCKET" from the old mysql extension says /tmp/mysql.sock! Do you have any idea what is going wrong here? Should I file a bug report?
It is not a bug, update your php.ini or use: PDO("mysql:dbname=test;unix_socket=/var/run/mysqld/mysqld.sock"); --Pierre

« previous php.pecl.dev (#4318) next »