|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-05-09 12:21 UTC] fjanisze@php.net
-Status: Open
+Status: Feedback
[2017-05-09 12:21 UTC] fjanisze@php.net
[2017-05-21 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 13:00:01 2025 UTC |
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)