2006 - MySQL server has gone away

select avg(rating) as rating, count(distinct(pr.review_id)) as total from product_review pr inner join product_review_rating prr on prr.review_id=pr.review_id where (pr.products_id="245926" or (pr.categories_id in (0,4,1,11) and pr.manufacturers_id in (0,320) and (pr.categories_id > "0" or pr.manufacturers_id > "0")) or pr.unique_identifiers like "%10245926%") and pr.approved="1"

[TEP STOP]

2006 - MySQL server has gone away

select 1 from sessions where sesskey = '203up49jl6050cpafevllnotvs'

[TEP STOP]