php.net |  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
Votes:1
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: steffenb198 at aol dot com
New email:
PHP Version: OS:

 

 [2015-06-15 22:12 UTC] steffenb198 at aol dot com
Description:
------------
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($result);
var_dump(microtime(true) - $s);

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

Actual result:
--------------
Very slow (100ms)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-05-09 12:21 UTC] fjanisze@php.net
-Status: Open +Status: Feedback
 [2017-05-09 12:21 UTC] fjanisze@php.net
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: Fri Apr 19 00:01:29 2024 UTC