[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
Thu Oct 28 05:18:35 UTC 2010


#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:  reporter-feedback  |  
-------------------------------+--------------------------------------------

Comment(by gazouteast):

 This error also appears when wp_options has hit circa 100,000+ rows (on
 shared and VPS hosting) - I'm not sure if the limitation is from MySQL or
 simply a "query taking too long to get answer" issue.

 Related - if a SQL table has crashed, MySQL has the ability to return that
 in the error, WP doesn't seem capable of returning that reason - might be
 worth a look see to check if could be added to verbosity?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/5932#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list