数据库连接出错:
select A.*, B.content
from old_article A
left join old_reply B on B.aid=A.aid
where A.fid="31" and is_important=1 and FROM_UNIXTIME(important_endtime,"%Y-%m-%d") >= CURRENT_DATE() ORDER BY A.posttime desc limit 0, 5
MySQL server has gone away
2006数据库连接出错:SELECT fid,`name` FROM old_sort WHERE fup=31 AND forbidshow!=1 ORDER BY list DESC LIMIT 80
MySQL server has gone away
2006数据库连接出错:SELECT A.*,R.content FROM old_article A LEFT JOIN old_reply R ON A.aid=R.aid and R.topic=1 WHERE A.fid in (31) AND A.yz=1 ORDER BY A.aid DESC LIMIT 160, 10
MySQL server has gone away
2006数据库连接出错:SELECT /* inc.artic_function.listthissort */ A.*,R.content,R.three_value FROM old_article A INNER JOIN old_reply R ON A.aid=R.aid AND R.topic=1 WHERE A.yz>=0 AND A.fid in (31) AND A.posttime>0 ORDER BY A.list DESC LIMIT 160,10
MySQL server has gone away
2006数据库连接出错:SELECT COUNT(*) AS num FROM old_article WHERE fid=31 AND yz=1
MySQL server has gone away
2006数据库连接出错:SELECT fid,name FROM `old_sort` WHERE fup='31' and forbidshow=0 order by list DESC
MySQL server has gone away
2006