Bug #50831 mysqlnd cannot connect to MySQL when only named pipe is enabled
Submitted: 2 Feb 2010 13:13 Modified: 14 Nov 2012 10:04
Reporter: Franklin Tse Email Updates:
Status: Closed Impact on me:
None 
Category:Connectors: mysqlnd ( PHP ) Severity:S2 (Serious)
Version:mysqlnd 5.0.10 OS:Windows
Assigned to: Assigned Account CPU Architecture:Any
Tags: named pipe

[2 Feb 2010 13:13] Franklin Tse
Description:
When TCP/IP is disabled (using skip-networking) and Named Pipe is enabled (enable-named-pipes), mysqlnd cannot connect to MySQL and gets timeout.

The MySQL server is working because it can be connected via "mysql -W -u root -p" command.

How to repeat:
1. Set the MySQL server to use Named Pipe only
2. Connect to it using mysqlnd

Suggested fix:
Support Named Pipe
[2 Feb 2010 14:10] MySQL Verification Team
See: http://bugs.php.net/bug.php?id=48082.
[2 Feb 2010 14:13] Franklin Tse
Yup, I made the latest comment there. (peaceable_whale at hotmail dot com is actually me)
[15 Feb 2010 21:24] Sveta Smirnova
Thank you for the report.

Verified as described using mysqli as well.
[7 Aug 2010 18:51] Franklin Tse
Is there any news on this issue? This is a severe loss of functionality.
[28 Sep 2010 13:08] Ulf Wendel
Patch has been pushed into the PHP repository at php.net.
[30 Mar 2012 16:26] Franklin Tse
This issue is not fixed in PHP 5.4.0. A report has been filed at https://bugs.php.net/bug.php?id=61570.
[14 Nov 2012 10:04] Johannes Schlüter
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at

  http://www.php.net/downloads