2006 - MySQL server has gone away

select count(*) as total from products_options popt, products_attributes patrib where patrib.products_id='1800' and patrib.options_id = popt.products_options_id and popt.language_id = '2'

[XT SQL Error]

2006 - MySQL server has gone away

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

[XT SQL Error]