2013 - Lost connection to MySQL server during query

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

[TEP STOP]

2006 - MySQL server has gone away

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

[TEP STOP]