Error: MySQL server has gone away - SELECT * FROM category_sites INNER JOIN categories ON category_sites.category_id = categories.id WHERE parent_id = 6333 AND site_id = 1 AND status = 1