:(

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

错误位置

FILE: /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Lib/Core/Db.class.php  LINE: 162

TRACE

[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Lib/Core/Db.class.php (162) DbMysql->connect()
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (213) DbMysql->query(SHOW COLUMNS FROM `hunuo_ads`)
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Lib/Core/Model.class.php (135) DbMysql->getFields(hunuo_ads)
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Lib/Core/Model.class.php (123) Model->flush()
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Lib/Core/Model.class.php (1176) Model->_checkTableInfo()
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Lib/Core/Model.class.php (98) Model->db(0, )
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Common/common.php (294) Model->__construct(ads, , )
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/Home/Lib/Action/CommonAction.class.php (18) M(ads)
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/Home/Lib/Action/ProductAction.class.php (5) CommonAction->__construct()
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Common/common.php (321) ProductAction->__construct()
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Lib/Core/App.class.php (103) A(Product)
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Common/runtime.php (242) Think::start()
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/ThinkPHP.php (30) require(/home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/Common/runtime.php)
[17-10-22 07:07:10] /home/keyi/domains/keyi.gz12.hostadm.net/public_html/index.php (20) require(/home/keyi/domains/keyi.gz12.hostadm.net/public_html/ThinkPHP/ThinkPHP.php)