2006 - MySQL server has gone away

delete from whos_online where time_last_click < '1397747573'

TEP_DB_ERRORR