:(

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-07 15:40:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Db.class.php (162) DbMysql->connect()
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (213) DbMysql->query(SHOW COLUMNS FROM `pre_url_duiying`)
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Model.class.php (135) DbMysql->getFields(pre_url_duiying)
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Model.class.php (123) Model->flush()
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Model.class.php (1177) Model->_checkTableInfo()
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Model.class.php (98) Model->db(0, )
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Common/common.php (299) Model->__construct(url_duiying, , )
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/Modules/Portal/Action/urlAction.class.php (6) M(url_duiying)
[19-12-07 15:40:12] () urlAction->index(869525)
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/App.class.php (169) ReflectionMethod->invokeArgs(, Array)
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/Common/runtime.php (242) Think::start()
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/ThinkPHP/ThinkPHP.php (30) require(/www/wwwroot/x.sgnet.cc/ThinkPHP/Common/runtime.php)
[19-12-07 15:40:12] /www/wwwroot/x.sgnet.cc/index.php (9) require(/www/wwwroot/x.sgnet.cc/ThinkPHP/ThinkPHP.php)