:(

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

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