2006 - MySQL server has gone away

select avg(rating) as rating from product_review pr inner join product_review_rating prr on prr.review_id=pr.review_id where (pr.products_id="188049" or (pr.categories_id in (0,9,6641) and pr.manufacturers_id in (0,2470) and (pr.categories_id > "0" or pr.manufacturers_id > "0")) or pr.unique_identifiers like "%10188049%")and pr.approved="1"

[TEP STOP]

2006 - MySQL server has gone away

select 1 from sessions where sesskey = 'hnvh51jq0onspabjsd2jkisqvg'

[TEP STOP]