logo       
Bookmark and Share

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

php.pecl.devel

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

Hello,

On 11/8/06, Andreas Korthaus <akorthaus@xxxxxx> 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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise