:(

php_network_getaddresses: getaddrinfo failed: Name or service not known

错误位置

FILE: /mnt/ceshi/ThinkPHP/Lib/Core/Db.class.php  LINE: 162

TRACE

[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/Lib/Core/Db.class.php (162) DbMysql->connect()
[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (213) DbMysql->query(SHOW COLUMNS FROM `tp_company`)
[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/Lib/Core/Model.class.php (135) DbMysql->getFields(tp_company)
[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/Lib/Core/Model.class.php (123) Model->flush()
[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/Lib/Core/Model.class.php (1176) Model->_checkTableInfo()
[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/Lib/Core/Model.class.php (98) Model->db(0, )
[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/Common/common.php (294) Model->__construct(company, , )
[20-02-23 15:41:02] /mnt/ceshi/Home/Lib/Action/CommonAction.class.php (48) M(company)
[20-02-23 15:41:02] /mnt/ceshi/Home/Lib/Action/CaseAction.class.php (4) CommonAction->__construct()
[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/Common/common.php (321) CaseAction->__construct()
[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/Lib/Core/App.class.php (103) A(Case)
[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/Common/runtime.php (242) Think::start()
[20-02-23 15:41:02] /mnt/ceshi/ThinkPHP/ThinkPHP.php (30) require(/mnt/ceshi/ThinkPHP/Common/runtime.php)
[20-02-23 15:41:02] /mnt/ceshi/index.php (23) require(/mnt/ceshi/ThinkPHP/ThinkPHP.php)