2013 - Lost connection to MySQL server during query

select count(*) as total from products_to_categories where categories_id = '21'

[TEP STOP]

2006 - MySQL server has gone away

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

[TEP STOP]