2013 - Lost connection to MySQL server during query

select count(*) as count from whos_online where session_id = '536b999579e4180e935e8f849f4fb598'

[TEP STOP]

2006 - MySQL server has gone away

select count(*) as total from sessions where sesskey = '536b999579e4180e935e8f849f4fb598'

[TEP STOP]