select * from goods g join category c on g.category_id = c.category_id where c.cat2 = '12367' and g.status <= 2 order by price limit 180, 20 MySQL server has gone away Can't Connect to DB