Warning: mysqli_real_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /data/home/byu6293180001/htdocs/res/BLOG/wp-includes/wp-db.php on line 1603

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /data/home/byu6293180001/htdocs/res/BLOG/wp-includes/wp-db.php on line 1633

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /data/home/byu6293180001/htdocs/res/BLOG/wp-includes/wp-db.php on line 1633
WordPress›错误

建立数据库连接时出错

这意味着您在wp-config.php文件中指定的用户名和密码信息不正确,或我们未能在localhost联系到数据库服务器。这可能意味着您主机的数据库服务器未在运行。

如果您不明白这些意味着什么,您应该联系您的主机提供商。如果您仍需要帮助,请访问WordPress支持论坛