Bug #49306 [Com]: socket settings are ignored
| From: | ain at flashbit dot net | Date: | Mon, 10 Sep 2012 14:25:05 +0000 |
| Subject: | Bug #49306 [Com]: socket settings are ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-173300@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=49306&edit=1
ID: 49306
Comment by: ain at flashbit dot net
Reported by: aaatoja at o2 dot pl
Summary: socket settings are ignored
Status: Closed
Type: Bug
Package: PDO related
Operating System: Opensuse 11.0
PHP Version: 5.3.0
Block user comment: N
Private report: N
New Comment:
I can confirm this bug on PHP 5.3.15 (cli) (built: Sep 10 2012 15:28:30) installed
over MacPorts.
Previous Comments:
------------------------------------------------------------------------
[2011-10-28 01:26:47] gnoodl+php at gmail dot com
Status should be OPEN. This bug is still present in 5.3.8
See http://staging.philipbrown.id.au/pdo-test.php
------------------------------------------------------------------------
[2009-08-21 07:46:44] svn@php.net
Automatic comment from SVN on behalf of tony2001
Revision: http://svn.php.net/viewvc/?view=revision&revision=287530
Log: fix build broken by the fix for bug #49306
------------------------------------------------------------------------
[2009-08-20 12:13:49] iliaa@php.net
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.
------------------------------------------------------------------------
[2009-08-20 12:13:39] svn@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 https://bugs.php.net/bug.php?id=49306&edit=1