go to bug id or search bugs for
MYSQLI_OPT_READ_TIMEOUT is entirely undocumented.
This option is also the solution to PHP Bug #67913 in which a successful TCP connection is made (so CONNECT TIMEOUT doens't apply), but the MySQL server hangs forever without transmitting any data afterwards.
Add a Patch
Add a Pull Request
If You resolve this as being visible here in manual:
, then confirm here pls.
MYSQLI_OPT_READ_TIMEOUT stack with MYSQLI_OPT_CONNECT_TIMEOUT
MYSQLI_OPT_READ_TIMEOUT and MYSQLI_OPT_CONNECT_TIMEOUT are not the same thing, and work at different times. There should be more documentation regardless of all of the options, rather than just a simple one-liner explaining each.