:(

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

错误位置

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

TRACE

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