2006 MySQL server has gone away
in:
[select configuration_value from configuration where configuration_key='QUERY_LOG_DBQUERY_LOG_ENABLED']