Amir Hardon schrieb:
> On some of the requests, it failed (returned false), while
> mysqli_connect_error() returned an empty string,
> and mysli_connect_errno() returned 0(zero).
> I tried testing it under load with ab(apache benchmark), but couldn't
> reproduce the error.
> Tried directing real traffic to this server again, and got the same errors.
Thanks for the hint & thanks for trying mysqlnd! mysqlnd feedback like
this is still highly welcome. Its working fine in our lab tests
(including load tests) but we are looking for real-life feedback.
I have no idea what could be causing it. mysqlnd is using PHP streams.
If its not a mysqlnd bug its a limitation derived from PHP streams.
Do you think trying out persistent connections might solve it?
would it help to turn on mysqlnd debugging? This seems to be the next
step in my eyes. We might get more information from the debug/trace log
and we might get an impression how much the debug/trace log slows down
the server in real life.