Every database has a way to conserve connections by closing them after a timeout value. For mySQL there are many kinds of timeouts. You can find out the values of the most popular timeouts that might becauseing you grief by executing the below statements. select @@global.net_write_timeout; select @@global.net_read_timeout; You can change their value to a very large number. set net_write_timeout= 99999 ; set net_read_timeout= 99999 ;
↧