2013 - Lost connection to MySQL server during query

select count(*) as total from products p, products_to_categories p2c where p.products_id = p2c.products_id and p.products_status = '1' and p2c.categories_id = '72'

[TEP STOP]

2006 - MySQL server has gone away

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

[TEP STOP]