2013 - Lost connection to MySQL server during query

select p2c.categories_id from products p, products_to_categories p2c where p.products_id = '547' and p.products_status = '1' and p.products_id = p2c.products_id limit 1

[TEP STOP]

2006 - MySQL server has gone away

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

[TEP STOP]