2013 - Lost connection to MySQL server during query

select count(*) as total from categories where parent_id = '14'

[TEP STOP]

2006 - MySQL server has gone away

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

[TEP STOP]