|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #76497 MYSQLI_OPT_READ_TIMEOUT undocumented
Submitted: 2018-06-18 22:59 UTC Modified: 2020-12-11 22:06 UTC
Avg. Score:3.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: php at darkain dot com Assigned: daverandom (profile)
Status: Closed Package: MySQLi related
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
9 - 2 = ?
Subscribe to this entry?

 [2018-06-18 22:59 UTC] php at darkain dot com

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

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-23 10:09 UTC] darek334 at gazeta dot pl
If You resolve this as being visible here in manual:
, then confirm here pls.

 [2018-08-23 16:04 UTC] php at darkain dot com
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.
 [2019-01-02 02:18 UTC]
-Package: Documentation problem +Package: MySQLi related -PHP Version: 7.2.6 +PHP Version: Irrelevant
 [2020-12-11 22:06 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: daverandom
 [2020-12-11 22:06 UTC]
Thanks for reporting this bug. This has recently been documented. The relevant commit can be found here:
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Jun 15 14:01:24 2021 UTC