:(

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

错误位置

FILE: /home/www/aircraftnurse/web/public_html/Core/Lib/Core/Db.class.php  LINE: 162

TRACE

[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Lib/Core/Db.class.php (162) DbMysql->connect()
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Lib/Driver/Db/DbMysql.class.php (213) DbMysql->query(SHOW COLUMNS FROM `fsw_user_sessions`)
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Lib/Core/Model.class.php (135) DbMysql->getFields(fsw_user_sessions)
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Lib/Core/Model.class.php (123) Model->flush()
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Lib/Core/Model.class.php (1174) Model->_checkTableInfo()
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Lib/Core/Model.class.php (98) Model->db(0, )
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Common/common.php (294) Model->__construct(user_sessions, , )
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Home/Common/Csession.php (122) M(user_sessions)
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Home/Common/Csession.php (105) cls_session->insert_session()
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Home/Common/Csession.php (92) cls_session->gen_session_id()
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Home/Lib/Action/Shop/PublicAction.class.php (17) cls_session->session(user_sessions)
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Lib/Core/Action.class.php (57) PublicAction->_initialize()
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Home/Lib/Action/Shop/CategoryAction.class.php (6) Action->__construct()
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Common/common.php (321) CategoryAction->__construct()
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Lib/Core/App.class.php (103) A(Shop/Category)
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Lib/Core/App.class.php (207) App::exec()
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Lib/Core/Think.class.php (39) App::run()
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/Common/runtime.php (242) Think::start()
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/Core/ThinkPHP.php (30) require(/home/www/aircraftnurse/web/public_html/Core/Common/runtime.php)
[17-06-24 16:31:06] /home/www/aircraftnurse/web/public_html/index.php (53) require(/home/www/aircraftnurse/web/public_html/Core/ThinkPHP.php)