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
 [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

Pull Requests

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: Sat Dec 21 12:01:31 2024 UTC