[ DB ] CONNECT:[ UseTime:0.000581s ] mysql:host=122.114.224.210;port=3306;dbname=sql_xinyang_db;charset=utf8
[ SQL ] SHOW COLUMNS FROM `n_link` [ RunTime:0.000939s ]
[ SQL ] SELECT * FROM `n_link` ORDER BY `sort` DESC [ RunTime:0.000505s ]
[ SQL ] SHOW COLUMNS FROM `n_news_cate` [ RunTime:0.000771s ]
[ SQL ] SELECT `id`,`name`,`status` FROM `n_news_cate` [ RunTime:0.000319s ]
[ SQL ] SHOW COLUMNS FROM `n_news` [ RunTime:0.000776s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 2 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000885s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 3 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000715s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 4 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000715s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 5 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000759s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 12 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000727s ]
[ SQL ] SELECT * FROM `n_news` WHERE `id` = 46 LIMIT 1 [ RunTime:0.000405s ]
[ SQL ] SELECT `name` FROM `n_news_cate` WHERE `id` = 11 LIMIT 1 [ RunTime:0.000430s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE `id` < 46 AND `status` = 1 AND `cate_id` = 11 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000512s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE `id` > 46 AND `status` = 1 AND `cate_id` = 11 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000966s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE ( `cate_id` = 11 AND `cate_id` NOT IN (2,3,4,5,12) ) AND `id` <> 46 AND `status` = 1 LIMIT 4 [ RunTime:0.000800s ]
[ SQL ] SELECT * FROM `n_link` ORDER BY `sort` DESC [ RunTime:0.000397s ]
[ SQL ] SELECT `id`,`name`,`status` FROM `n_news_cate` [ RunTime:0.000307s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 2 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000732s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 3 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000720s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 4 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000721s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 5 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000735s ]
[ SQL ] SELECT `n`.`title`,`n`.`id`,`n`.`cate_id`,`nc`.`name`,`n`.`main`,`n`.`main_img` FROM `n_news` `n` INNER JOIN `n_news_cate` `nc` ON `nc`.`id`=`n`.`cate_id` WHERE `nc`.`status` = 1 AND `n`.`cate_id` = 12 ORDER BY `n`.`id` DESC LIMIT 1 [ RunTime:0.000731s ]