2013 - Lost connection to MySQL server during query

select count(*) as total from products p left join products_to_categories p2c on p.products_id = p2c.products_id left join categories c on p2c.categories_id = c.categories_id, products_description pd where c.categories_status = '1' and p.products_status = '1' and p.products_id = '4027' and pd.products_id = p.products_id and pd.language_id = '1'

[TEP STOP]