:(

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

错误位置

FILE: /www/users/HA682746/WEB/eng/ThinkPHP/Lib/Core/Db.class.php  LINE: 164

TRACE

[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/Lib/Core/Db.class.php (164) DbMysql->connect(Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2))
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (95) Db->initConnect()
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (215) DbMysql->query()
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/Lib/Core/Model.class.php (134) DbMysql->getFields(SHOW COLUMNS FROM `engqf_article`)
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/Lib/Core/Model.class.php (122) Model->flush(engqf_article)
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/Lib/Core/Model.class.php (1185) Model->_checkTableInfo()
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/Lib/Core/Model.class.php (97) Model->db()
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/Common/common.php (296) Model->__construct(0, )
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/App/Lib/Action/Home/PublicAction.class.php (7) M()
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/App/Lib/Action/Home/IndexAction.class.php (6) PublicAction->__construct(article, , )
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/Common/common.php (323) IndexAction->__construct(article)
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/Lib/Core/App.class.php (102) A()
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/Common/runtime.php (242) Think::start(Home/Index)
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/ThinkPHP/ThinkPHP.php (30) require(/www/users/HA682746/WEB/eng/ThinkPHP/Common/runtime.php)
[22-07-03 06:58:07] /www/users/HA682746/WEB/eng/index.php (21) require(/www/users/HA682746/WEB/eng/ThinkPHP/ThinkPHP.php)