:(

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

错误位置

FILE: /alidata/www/phpwind/ThinkPHP/Lib/Core/Db.class.php  LINE: 162

TRACE

[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/Lib/Core/Db.class.php (162) DbMysql->connect(Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))
[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (213) DbMysql->query()
[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/Lib/Core/Model.class.php (135) DbMysql->getFields(SHOW COLUMNS FROM `page_content`)
[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/Lib/Core/Model.class.php (123) Model->flush(page_content)
[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/Lib/Core/Model.class.php (1175) Model->_checkTableInfo()
[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/Lib/Core/Model.class.php (98) Model->db()
[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/Common/common.php (294) Model->__construct(0, )
[19-05-21 18:26:05] /alidata/www/phpwind/App/Lib/Action/indexAction.class.php (16) M()
[19-05-21 18:26:05] () indexAction->index(page_content, , )
[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/Lib/Core/App.class.php (171) ReflectionMethod->invoke(page_content)
[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/Common/runtime.php (242) Think::start()
[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/ThinkPHP.php (30) require(/alidata/www/phpwind/ThinkPHP/Common/runtime.php)
[19-05-21 18:26:05] /alidata/www/phpwind/ThinkPHP/Extend/Engine/Sae.php (47) require(/alidata/www/phpwind/ThinkPHP/ThinkPHP.php)
[19-05-21 18:26:05] /alidata/www/phpwind/cn.php (12) require(/alidata/www/phpwind/ThinkPHP/Extend/Engine/Sae.php)