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

From: Date: Wed, 08 Nov 2006 01:22:29 +0000
Subject: Re: PDO_MYSQL connect fallback from localhost do /tmp/mysql.sock
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4319@lists.php.net to get a copy of this message
Pierre wrote:
It is not a bug, update your php.ini
As said, there is no php.ini loaded (AFAIK). There is no php.ini at the path phpinfo() shows.
or use: PDO("mysql:dbname=test;unix_socket=/var/run/mysqld/mysqld.sock");
I know that, but what I would like to know is why PDO_MYSQL does not connect to the MySQL-Server using TCP/IP (localhost:3306), as I specified, but instead uses a socket-adress which seems to be compiled into the mysql library. best regards Andreas

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