2006 - MySQL server has gone away

select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from categories c, categories_description cd, CUSTOMERS_TYPE_CATEGORIES ctc where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='2' and c.categories_id=ctc.categories_id and ctc.id_customer_type=0 order by sort_order, cd.categories_name

[TEP STOP]

2006 - MySQL server has gone away

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

[TEP STOP]