:(

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

错误位置

FILE: /var/www/Webapp/sdvideo/Includes/ThinkPHP/Lib/Core/Db.class.php  LINE: 162

TRACE

[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Lib/Core/Db.class.php (162) DbMysql->connect()
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (213) DbMysql->query(SHOW COLUMNS FROM `dr_wideo`)
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Lib/Core/Model.class.php (135) DbMysql->getFields(dr_wideo)
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Lib/Core/Model.class.php (123) Model->flush()
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Lib/Core/Model.class.php (1174) Model->_checkTableInfo()
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Lib/Core/Model.class.php (98) Model->db(0, )
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Common/common.php (270) Model->__construct()
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Web/Lib/Action/FbaseAction.class.php (19) D(Wa)
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Lib/Core/Action.class.php (57) FbaseAction->_initialize()
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Common/common.php (321) Action->__construct()
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Lib/Core/App.class.php (103) A(Index)
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/Common/runtime.php (242) Think::start()
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/Includes/ThinkPHP/ThinkPHP.php (30) require(/var/www/Webapp/sdvideo/Includes/ThinkPHP/Common/runtime.php)
[19-10-19 01:04:10] /var/www/Webapp/sdvideo/index.php (6) require(/var/www/Webapp/sdvideo/Includes/ThinkPHP/ThinkPHP.php)