:(

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

错误位置

FILE: /www/web/www_191wan_com/public_html/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /www/web/www_191wan_com/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /www/web/www_191wan_com/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(1075): Think\Db\Driver->connect()
#2 /www/web/www_191wan_com/public_html/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /www/web/www_191wan_com/public_html/ThinkPHP/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('sys_config')
#4 /www/web/www_191wan_com/public_html/ThinkPHP/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /www/web/www_191wan_com/public_html/ThinkPHP/Library/Think/Model.class.php(1454): Think\Model->_checkTableInfo()
#6 /www/web/www_191wan_com/public_html/ThinkPHP/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /www/web/www_191wan_com/public_html/ThinkPHP/Common/functions.php(621): Think\Model->__construct('Config', '', '')
#8 /www/web/www_191wan_com/public_html/Application/Common/Api/ConfigApi.class.php(20): M('Config')
#9 [internal function]: Common\Api\ConfigApi::lists()
#10 /www/web/www_191wan_com/public_html/Application/Common/Common/function.php(888): call_user_func_array('Common\\Api\\Conf...', Array)
#11 /www/web/www_191wan_com/public_html/Application/Media2/Conf/config.php(14): api('Config/lists')
#12 /www/web/www_191wan_com/public_html/ThinkPHP/Common/functions.php(64): include('/www/web/www_19...')
#13 /www/web/www_191wan_com/public_html/ThinkPHP/Library/Think/Dispatcher.class.php(156): load_config('./Application/M...')
#14 /www/web/www_191wan_com/public_html/ThinkPHP/Library/Think/App.class.php(38): Think\Dispatcher::dispatch()
#15 /www/web/www_191wan_com/public_html/ThinkPHP/Library/Think/App.class.php(195): Think\App::init()
#16 /www/web/www_191wan_com/public_html/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#17 /www/web/www_191wan_com/public_html/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#18 /www/web/www_191wan_com/public_html/media2.php(41): require('/www/web/www_19...')
#19 {main}