:(

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

错误位置

FILE: /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Lib/Core/Db.class.php  LINE: 162

TRACE

[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Lib/Core/Db.class.php (162) DbMysql->connect()
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Lib/Driver/Db/DbMysql.class.php (213) DbMysql->query(SHOW COLUMNS FROM `web_good`)
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Lib/Core/Model.class.php (135) DbMysql->getFields(web_good)
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Lib/Core/Model.class.php (123) Model->flush()
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Lib/Core/Model.class.php (1174) Model->_checkTableInfo()
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Lib/Core/Model.class.php (98) Model->db(0, )
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Common/common.php (270) Model->__construct()
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/home/Lib/Action/GlobalAction.class.php (11) D(Good)
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/home/Lib/Action/IndexAction.class.php (10) GlobalAction->ngood()
[15-04-26 10:44:04] () IndexAction->index()
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Lib/Core/App.class.php (171) ReflectionMethod->invoke()
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Lib/Core/App.class.php (207) App::exec()
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Lib/Core/Think.class.php (39) App::run()
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Common/runtime.php (242) Think::start()
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/ThinkPHP.php (30) require(/home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/Common/runtime.php)
[15-04-26 10:44:04] /home/ubanquet/domains/u-banquet.com/public_html/index.php (8) require(/home/ubanquet/domains/u-banquet.com/public_html/ThinkPHP3/ThinkPHP.php)