2013 - Lost connection to MySQL server during query

select c.categories_id, cd.categories_name from categories c, categories_description cd where parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id = '1' order by sort_order, cd.categories_name

[TEP STOP]

2006 - MySQL server has gone away

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

[TEP STOP]