2013 - Lost connection to MySQL server during query

select count(*) as count from whos_online where session_id = '56a564ca9eba76a5bcc5d2da3ce6e643'

[TEP STOP]

2006 - MySQL server has gone away

select count(*) as total from sessions where sesskey = '56a564ca9eba76a5bcc5d2da3ce6e643'

[TEP STOP]