[wp-trac] [WordPress Trac] #5932: wpdb should reconnect and retry query when "MySQL server has gone away"

WordPress Trac noreply at wordpress.org
Fri Jan 31 11:42:21 UTC 2014


#5932: wpdb should reconnect and retry query when "MySQL server has gone away"
---------------------------------+-----------------------
 Reporter:  dtc                  |       Owner:  pento
     Type:  task (blessed)       |      Status:  reopened
 Priority:  normal               |   Milestone:  3.9
Component:  Database             |     Version:  3.0
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.9-early  |     Focuses:
---------------------------------+-----------------------

Comment (by pento):

 attachment:5932.7.diff

 When trying to reconnect, only enable warnings for the last attempt. This
 will prevent "unable to connect" warnings from showing on the page, if it
 manages to reconnect.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/5932#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list