无法连接到数据库服务器 [2002]
错误信息: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Backtrace: index.php:116 -> home.php:24 -> source/class/class_core.php:65 -> source/class/class_core.php:303 -> source/class/class_core.php:628 -> source/class/class_core.php:636

点击这里寻求帮助

Backtrace
FileLineFunction
1:index.php116require()
2:home.php24discuz_core->init()
3:source/class/class_core.php65discuz_core->_init_db()
4:source/class/class_core.php303db_mysql->connect()
5:source/class/class_core.php628db_mysql->_dbconnect()
6:source/class/class_core.php636db_mysql->halt()