[wp-trac] [WordPress Trac] #5932: wpdb should reconnect and retry query when "MySQL server has gone away"
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 7 22:11:44 UTC 2012
#5932: wpdb should reconnect and retry query when "MySQL server has gone away"
--------------------------+-----------------------------
Reporter: dtc | Owner: anonymous
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Database | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-----------------------------
Comment (by pento):
Patch 3 does the check after a query fails with error 2006 (server gone
away).
I also added a 1 second sleep between connection retries, to give the
server 5 seconds to come back.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/5932#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list