|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69843 Connection via only named pipe very slow
Submitted: 2015-06-15 22:12 UTC Modified: 2017-05-21 04:22 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: steffenb198 at aol dot com Assigned:
Status: No Feedback Package: MySQL related
PHP Version: 5.6.10 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: steffenb198 at aol dot com
New email:
PHP Version: OS:


 [2015-06-15 22:12 UTC] steffenb198 at aol dot com
When you connect to a mysql server using a named pipe and networking is disabled
on said server (so no TCP fallback is possible), the connection via mysqlnd
is very slow.

Test script:
$mysqli = new \Mysqli(".", "user", "pw", "db", null, "\\\\.\\pipe\\MySQL");
$s = microtime(true);
$result = $mysqli->query("SELECT * FROM user");
var_dump(microtime(true) - $s);

Expected result:
Fast "query result" like with libmysql (~8ms)

Actual result:
Very slow (100ms)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-05-09 12:21 UTC]
-Status: Open +Status: Feedback
 [2017-05-09 12:21 UTC]
Can you provide server version and full configuration? Are you using a custom build? In that case can you provide the building options? Which windows version are you using? Is the performance problem always reproducible?
 [2017-05-21 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 12:01:28 2024 UTC