:(

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

错误位置

FILE: /game_web/game/web/ThinkPHP/Lib/Core/Db.class.php  LINE: 162

TRACE

[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Lib/Core/Db.class.php (162) DbMysql->connect()
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (213) DbMysql->query(SHOW COLUMNS FROM `games_web_group`)
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Lib/Core/Model.class.php (135) DbMysql->getFields(games_web_group)
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Lib/Core/Model.class.php (123) Model->flush()
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Lib/Core/Model.class.php (1175) Model->_checkTableInfo()
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Lib/Core/Model.class.php (98) Model->db(0, )
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Common/common.php (294) Model->__construct(games_web_group, , )
[18-11-13 09:35:11] /game_web/game/web/Web/Lib/Action/Home/IndexAction.class.php (9) M(games_web_group)
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Lib/Core/Action.class.php (57) IndexAction->_initialize()
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Common/common.php (322) Action->__construct()
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Lib/Core/App.class.php (103) A(Home/Index)
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/Common/runtime.php (242) Think::start()
[18-11-13 09:35:11] /game_web/game/web/ThinkPHP/ThinkPHP.php (30) require(/game_web/game/web/ThinkPHP/Common/runtime.php)
[18-11-13 09:35:11] /game_web/game/web/index.php (11) require(/game_web/game/web/ThinkPHP/ThinkPHP.php)