mysql::db do failed: MySQL server has gone away at ./inclibdb.pm line 1848
set a higher value for wait_timeout and connect_timeout in my.cnf
from the MySQL Documentation
- wait_timeout : The number of seconds the server waits for activity on a noninteractive connection before closing it.
- connect_timeout : The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake