MySQL server has gone away SQL query : SET SESSION sql_mode=0