:(

2006:MySQL server has gone away [ SQL语句 ] : SELECT * FROM `ny_activity` WHERE `display` = 1 ORDER BY sort desc,id desc

错误位置

FILE: D:\wwwroots\tb_802hd\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 350

TRACE

#0 D:\wwwroots\tb_802hd\ThinkPHP\Library\Think\Db\Driver.class.php(350): E('2006:MySQL serv...')
#1 D:\wwwroots\tb_802hd\ThinkPHP\Library\Think\Db\Driver.class.php(180): Think\Db\Driver->error()
#2 D:\wwwroots\tb_802hd\ThinkPHP\Library\Think\Db\Driver.class.php(946): Think\Db\Driver->query('SELECT * FROM `...', false)
#3 D:\wwwroots\tb_802hd\ThinkPHP\Library\Think\Model.class.php(579): Think\Db\Driver->select(Array)
#4 D:\wwwroots\tb_802hd\Project\Home\Controller\ActivityController.class.php(20): Think\Model->select()
#5 [internal function]: Home\Controller\ActivityController->index()
#6 D:\wwwroots\tb_802hd\ThinkPHP\Library\Think\App.class.php(173): ReflectionMethod->invoke(Object(Home\Controller\ActivityController))
#7 D:\wwwroots\tb_802hd\ThinkPHP\Library\Think\App.class.php(110): Think\App::invokeAction(Object(Home\Controller\ActivityController), 'index')
#8 D:\wwwroots\tb_802hd\ThinkPHP\Library\Think\App.class.php(204): Think\App::exec()
#9 D:\wwwroots\tb_802hd\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#10 D:\wwwroots\tb_802hd\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#11 D:\wwwroots\tb_802hd\index.php(30): require('D:\wwwroots\tb_...')
#12 {main}