:(

SQLSTATE[HY000] [2002] Ŀܾ޷ӡ

错误位置

FILE: D:\PHPWAMP_IN3\wwwroot\kaifaqu\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 110

TRACE

#0 D:\PHPWAMP_IN3\wwwroot\kaifaqu\ThinkPHP\Library\Think\Db\Driver.class.php(110): E('SQLSTATE[HY000]...')
#1 D:\PHPWAMP_IN3\wwwroot\kaifaqu\ThinkPHP\Library\Think\Db\Driver.class.php(1055): Think\Db\Driver->connect()
#2 D:\PHPWAMP_IN3\wwwroot\kaifaqu\ThinkPHP\Library\Think\Db\Driver\Mysql.class.php(50): Think\Db\Driver->initConnect(true)
#3 D:\PHPWAMP_IN3\wwwroot\kaifaqu\ThinkPHP\Library\Think\Model.class.php(134): Think\Db\Driver\Mysql->getFields('tp_wenz')
#4 D:\PHPWAMP_IN3\wwwroot\kaifaqu\ThinkPHP\Library\Think\Model.class.php(122): Think\Model->flush()
#5 D:\PHPWAMP_IN3\wwwroot\kaifaqu\ThinkPHP\Library\Think\Model.class.php(1432): Think\Model->_checkTableInfo()
#6 D:\PHPWAMP_IN3\wwwroot\kaifaqu\ThinkPHP\Library\Think\Model.class.php(97): Think\Model->db(0, '', true)
#7 D:\PHPWAMP_IN3\wwwroot\kaifaqu\ThinkPHP\Common\functions.php(590): Think\Model->__construct('Wenz', '', '')
#8 D:\PHPWAMP_IN3\wwwroot\kaifaqu\App\Home\Controller\NewsController.class.php(331): M('Wenz')
#9 [internal function]: Home\Controller\NewsController->info()
#10 D:\PHPWAMP_IN3\wwwroot\kaifaqu\ThinkPHP\Library\Think\App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\NewsController))
#11 D:\PHPWAMP_IN3\wwwroot\kaifaqu\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#12 D:\PHPWAMP_IN3\wwwroot\kaifaqu\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#13 D:\PHPWAMP_IN3\wwwroot\kaifaqu\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#14 D:\PHPWAMP_IN3\wwwroot\kaifaqu\index.php(28): require('D:\\PHPWAMP_IN3\\...')
#15 {main}