MySQL server has gone away SQL=SELECT COUNT(id) FROM ttt_content WHERE `catid` IN (39) AND `state`='1'