[ DB ] CONNECT:[ UseTime:0.001749s ] mysql:host=122.114.224.210;port=3306;dbname=sql_xinyang_db;charset=utf8
[ SQL ] SHOW COLUMNS FROM `n_link` [ RunTime:0.002175s ]
[ SQL ] SELECT * FROM `n_link` ORDER BY `sort` DESC [ RunTime:0.000804s ]
[ SQL ] SHOW COLUMNS FROM `n_news_cate` [ RunTime:0.000776s ]
[ SQL ] SELECT `id`,`name`,`status` FROM `n_news_cate` [ RunTime:0.000447s ]
[ SQL ] SHOW COLUMNS FROM `n_news` [ RunTime:0.000752s ]
[ 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.002135s ]
[ 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.000772s ]
[ 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.000771s ]
[ 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.000808s ]
[ 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.000764s ]
[ SQL ] SELECT * FROM `n_news` WHERE `id` = 237 LIMIT 1 [ RunTime:0.000485s ]
[ SQL ] SELECT `name` FROM `n_news_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000347s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE `id` < 237 AND `status` = 1 AND `cate_id` = 9 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000885s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE `id` > 237 AND `status` = 1 AND `cate_id` = 9 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000455s ]
[ SQL ] SELECT `id`,`title` FROM `n_news` WHERE ( `cate_id` = 9 AND `cate_id` NOT IN (2,3,4,5,12) ) AND `id` <> 237 AND `status` = 1 LIMIT 4 [ RunTime:0.001373s ]
[ SQL ] SELECT * FROM `n_link` ORDER BY `sort` DESC [ RunTime:0.000425s ]
[ SQL ] SELECT `id`,`name`,`status` FROM `n_news_cate` [ RunTime:0.000321s ]
[ 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.000763s ]
[ 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.000751s ]
[ 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.000750s ]
[ 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.000762s ]
[ 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.000761s ]