:(

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: ֪

错误位置

FILE: D:\wwwroot\jh8kckj\wwwroot\Think\Library\Think\Db\Driver.class.php  LINE: 109

TRACE

#0 D:\wwwroot\jh8kckj\wwwroot\Think\Library\Think\Db\Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 D:\wwwroot\jh8kckj\wwwroot\Think\Library\Think\Db\Driver.class.php(1075): Think\Db\Driver->connect()
#2 D:\wwwroot\jh8kckj\wwwroot\Think\Library\Think\Db\Driver\Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 D:\wwwroot\jh8kckj\wwwroot\Think\Library\Think\Model.class.php(134): Think\Db\Driver\Mysql->getFields('p_newscate')
#4 D:\wwwroot\jh8kckj\wwwroot\Think\Library\Think\Model.class.php(122): Think\Model->flush()
#5 D:\wwwroot\jh8kckj\wwwroot\Think\Library\Think\Model.class.php(1454): Think\Model->_checkTableInfo()
#6 D:\wwwroot\jh8kckj\wwwroot\Think\Library\Think\Model.class.php(97): Think\Model->db(0, '', true)
#7 D:\wwwroot\jh8kckj\wwwroot\Think\Common\functions.php(621): Think\Model->__construct('newscate', '', '')
#8 D:\wwwroot\jh8kckj\wwwroot\kckj\Home\Controller\NewsController.class.php(18): M('newscate')
#9 D:\wwwroot\jh8kckj\wwwroot\kckj\Home\Controller\NewsController.class.php(79): Home\Controller\NewsController->getNewsCate()
#10 [internal function]: Home\Controller\NewsController->detail()
#11 D:\wwwroot\jh8kckj\wwwroot\Think\Library\Think\App.class.php(173): ReflectionMethod->invoke(Object(Home\Controller\NewsController))
#12 D:\wwwroot\jh8kckj\wwwroot\Think\Library\Think\App.class.php(110): Think\App::invokeAction(Object(Home\Controller\NewsController), 'detail')
#13 D:\wwwroot\jh8kckj\wwwroot\Think\Library\Think\App.class.php(204): Think\App::exec()
#14 D:\wwwroot\jh8kckj\wwwroot\Think\Library\Think\Think.class.php(120): Think\App::run()
#15 D:\wwwroot\jh8kckj\wwwroot\Think\ThinkPHP.php(97): Think\Think::start()
#16 D:\wwwroot\jh8kckj\wwwroot\index.php(35): require('D:\\wwwroot\\jh8k...')
#17 {main}