:(

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

错误位置

FILE: /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Lib/Core/Db.class.php  LINE: 162

TRACE

[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Lib/Core/Db.class.php (162) DbMysql->connect(Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (213) DbMysql->query()
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Lib/Core/Model.class.php (135) DbMysql->getFields(SHOW COLUMNS FROM `t_visit`)
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Lib/Core/Model.class.php (123) Model->flush(t_visit)
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Lib/Core/Model.class.php (1174) Model->_checkTableInfo()
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Lib/Core/Model.class.php (98) Model->db()
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Common/common.php (294) Model->__construct(0, )
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/Home/Lib/Action/CommonAction.class.php (8) M()
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Lib/Core/Action.class.php (57) CommonAction->_initialize(Visit, , )
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Common/common.php (321) Action->__construct(Visit)
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Lib/Core/App.class.php (103) A()
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/Common/runtime.php (242) Think::start(Index)
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/ThinkPHP/ThinkPHP.php (30) require(/www/web/meetingonline_ac_cn/public_html/ThinkPHP/Common/runtime.php)
[19-02-23 16:26:02] /www/web/meetingonline_ac_cn/public_html/index.php (9) require(/www/web/meetingonline_ac_cn/public_html/ThinkPHP/ThinkPHP.php)