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 = '9e23510a9a69f8005c770c6796af942e'

[TEP STOP]