:(

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

错误位置

FILE: /home/wwwroot/lumenchip/public_html/Core/Lib/Core/Db.class.php  LINE: 163

TRACE

[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Lib/Core/Db.class.php (163) DbMysql->connect(Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Lib/Driver/Db/DbMysql.class.php (213) DbMysql->query()
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Lib/Core/Model.class.php (135) DbMysql->getFields(SHOW COLUMNS FROM `ic_sysdata`)
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Lib/Core/Model.class.php (123) Model->flush(ic_sysdata)
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Lib/Core/Model.class.php (1174) Model->_checkTableInfo()
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Lib/Core/Model.class.php (98) Model->db()
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Common/common.php (270) Model->__construct(0, )
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Home/Lib/Action/CommonAction.class.php (82) D()
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Home/Lib/Action/CommonAction.class.php (57) CommonAction->getConfig()
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Lib/Core/Action.class.php (57) CommonAction->_initialize(Sysdata)
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Home/Lib/Action/HomeAction.class.php (10) Action->__construct(exchange_list, exchange_conf)
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Home/Lib/Action/ProductAction.class.php (10) HomeAction->__construct()
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Common/common.php (321) ProductAction->__construct()
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Lib/Core/App.class.php (103) A()
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Lib/Core/App.class.php (207) App::exec()
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Lib/Core/Think.class.php (39) App::run()
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/Common/runtime.php (242) Think::start(Product)
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/Core/ThinkPHP.php (30) require(/home/wwwroot/lumenchip/public_html/Core/Common/runtime.php)
[17-08-18 03:01:08] /home/wwwroot/lumenchip/public_html/index.php (9) require(/home/wwwroot/lumenchip/public_html/Core/ThinkPHP.php)