:(

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

错误位置

FILE: /data/wwwroot/htdocs/vd/baoming/_Core/Lib/Core/Db.class.php  LINE: 162

TRACE

[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/_Core/Lib/Core/Db.class.php (162) DbMysql->connect()
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/_Core/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/_Core/Lib/Driver/Db/DbMysql.class.php (213) DbMysql->query(SHOW COLUMNS FROM `xjy_reg_seller`)
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/_Core/Lib/Core/Model.class.php (135) DbMysql->getFields(xjy_reg_seller)
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/_Core/Lib/Core/Model.class.php (123) Model->flush()
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/_Core/Lib/Core/Model.class.php (1174) Model->_checkTableInfo()
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/_Core/Lib/Core/Model.class.php (98) Model->db(0, )
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/_Core/Common/common.php (294) Model->__construct(Seller, , )
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/Home/Lib/Action/Reg/RegisterAction.class.php (19) M(Seller)
[17-05-29 00:27:05] () RegisterAction->register()
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/_Core/Lib/Core/App.class.php (171) ReflectionMethod->invoke()
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/_Core/Lib/Core/App.class.php (207) App::exec()
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/_Core/Lib/Core/Think.class.php (39) App::run()
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/_Core/Common/runtime.php (242) Think::start()
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/_Core/ThinkPHP.php (30) require(/data/wwwroot/htdocs/vd/baoming/_Core/Common/runtime.php)
[17-05-29 00:27:05] /data/wwwroot/htdocs/vd/baoming/index.php (8) require(/data/wwwroot/htdocs/vd/baoming/_Core/ThinkPHP.php)