2006 - MySQL server has gone away

select distinct ptc.categories_id from products p inner join products_to_categories ptc on ptc.products_id=p.products_id where p.manufacturers_id='10' and p.products_status='1'

[TEP STOP]