Enable MySQL reconnect to avoid "MySQL server has gone away" errors.