Lost connection to MySQL server during query when dumping table code example Example: Lost connection to MySQL server during query when dumping table net_write_timeout = 900 #on my.cnf