ID:               49306
 Updated by:       il...@php.net
 Reported By:      aaatoja at o2 dot pl
-Status:           Open
+Status:           Closed
 Bug Type:         PDO related
 Operating System: Opensuse 11.0
 PHP Version:      5.3.0
 New Comment:

This bug has been fixed in SVN.

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/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2009-08-20 12:13:39] s...@php.net

Automatic comment from SVN on behalf of iliaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=287504
Log: Fixed bug #49306 (inside pdo_mysql default socket settings are
ignored).

------------------------------------------------------------------------

[2009-08-20 08:46:51] aaatoja at o2 dot pl

Description:
------------
PHP 5.3.0 My php.ini settings:
[Pdo_mysql]
pdo_mysql.default_socket= /srv/mysql/mysql.sock

[MySQL]
mysql.default_port = 3306
mysql.default_socket = /srv/mysql/mysql.sock

Mysql or Mysqli connection works fine but PDO throws error: Can't
connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
(2)

Socket must be hardcoded somewhere.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49306&edit=1

Reply via email to