MySQL server has gone away SQL: UPDATE se_documents SET document_views=document_views+1 WHERE document_id='1315' LIMIT 1