Error: MySQL server has gone away
Error No: 2006
SELECT category_id FROM product_to_category WHERE product_id = '144506' ORDER BY main_category DESC LIMIT 1