2013 - Lost connection to MySQL server during query

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

[XT SQL Error]

2006 - MySQL server has gone away

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

[XT SQL Error]