:(

php_network_getaddresses: getaddrinfo failed: Name or service not known

错误位置

FILE: /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Db.class.php  LINE: 162

TRACE

[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Db.class.php (162) DbMysql->connect()
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (213) DbMysql->query(SHOW COLUMNS FROM `pre_ddlist`)
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Model.class.php (135) DbMysql->getFields(pre_ddlist)
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Model.class.php (123) Model->flush()
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Model.class.php (1177) Model->_checkTableInfo()
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Model.class.php (98) Model->db(0, )
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Common/common.php (299) Model->__construct(ddlist, , )
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/Modules/Domain/Action/indexAction.class.php (5) M(ddlist)
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Action.class.php (223) indexAction->_empty(ershou, )
[19-12-16 13:04:12] () Action->__call(ershou, )
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/App.class.php (187) ReflectionMethod->invokeArgs(, Array)
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Common/runtime.php (242) Think::start()
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/ThinkPHP.php (30) require(/www/wwwroot/x.sgnet.cc/ThinkPHP/Common/runtime.php)
[19-12-16 13:04:12] /www/wwwroot/x.sgnet.cc/index.php (9) require(/www/wwwroot/x.sgnet.cc/ThinkPHP/ThinkPHP.php)