( ! ) Warning: mysqli_real_connect(): Server sent charset (255) unknown to the client. Please, report to the developers in /var/www/html/blog/wp-includes/wp-db.php on line 1538
Call Stack
#TimeMemoryFunctionLocation
10.0001237128{main}( ).../index.php:0
20.0002239888require( '/var/www/html/blog/wp-blog-header.php' ).../index.php:17
30.0003257264require_once( '/var/www/html/blog/wp-load.php' ).../wp-blog-header.php:13
40.0004266808require_once( '/var/www/html/blog/wp-config.php' ).../wp-load.php:37
50.0008392472require_once( '/var/www/html/blog/wp-settings.php' ).../wp-config.php:96
60.02252610168require_wp_db( ).../wp-settings.php:106
70.02643058784wpdb->__construct( ).../load.php:404
80.02643060600wpdb->db_connect( ).../wp-db.php:658
90.02643061416mysqli_real_connect ( ).../wp-db.php:1538

( ! ) Warning: mysqli_real_connect(): (HY000/2054): Server sent charset unknown to the client. Please, report to the developers in /var/www/html/blog/wp-includes/wp-db.php on line 1538
Call Stack
#TimeMemoryFunctionLocation
10.0001237128{main}( ).../index.php:0
20.0002239888require( '/var/www/html/blog/wp-blog-header.php' ).../index.php:17
30.0003257264require_once( '/var/www/html/blog/wp-load.php' ).../wp-blog-header.php:13
40.0004266808require_once( '/var/www/html/blog/wp-config.php' ).../wp-load.php:37
50.0008392472require_once( '/var/www/html/blog/wp-settings.php' ).../wp-config.php:96
60.02252610168require_wp_db( ).../wp-settings.php:106
70.02643058784wpdb->__construct( ).../load.php:404
80.02643060600wpdb->db_connect( ).../wp-db.php:658
90.02643061416mysqli_real_connect ( ).../wp-db.php:1538

( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/html/blog/wp-includes/wp-db.php on line 1568
Call Stack
#TimeMemoryFunctionLocation
10.0001237128{main}( ).../index.php:0
20.0002239888require( '/var/www/html/blog/wp-blog-header.php' ).../index.php:17
30.0003257264require_once( '/var/www/html/blog/wp-load.php' ).../wp-blog-header.php:13
40.0004266808require_once( '/var/www/html/blog/wp-config.php' ).../wp-load.php:37
50.0008392472require_once( '/var/www/html/blog/wp-settings.php' ).../wp-config.php:96
60.02252610168require_wp_db( ).../wp-settings.php:106
70.02643058784wpdb->__construct( ).../load.php:404
80.02643060600wpdb->db_connect( ).../wp-db.php:658
90.12223061288wpdb->db_connect( ).../wp-db.php:1563
100.12223061432mysql_connect ( ).../wp-db.php:1568

( ! ) Warning: mysql_connect(): Server sent charset (255) unknown to the client. Please, report to the developers in /var/www/html/blog/wp-includes/wp-db.php on line 1568
Call Stack
#TimeMemoryFunctionLocation
10.0001237128{main}( ).../index.php:0
20.0002239888require( '/var/www/html/blog/wp-blog-header.php' ).../index.php:17
30.0003257264require_once( '/var/www/html/blog/wp-load.php' ).../wp-blog-header.php:13
40.0004266808require_once( '/var/www/html/blog/wp-config.php' ).../wp-load.php:37
50.0008392472require_once( '/var/www/html/blog/wp-settings.php' ).../wp-config.php:96
60.02252610168require_wp_db( ).../wp-settings.php:106
70.02643058784wpdb->__construct( ).../load.php:404
80.02643060600wpdb->db_connect( ).../wp-db.php:658
90.12223061288wpdb->db_connect( ).../wp-db.php:1563
100.12223061432mysql_connect ( ).../wp-db.php:1568

( ! ) Warning: mysql_connect(): Server sent charset unknown to the client. Please, report to the developers in /var/www/html/blog/wp-includes/wp-db.php on line 1568
Call Stack
#TimeMemoryFunctionLocation
10.0001237128{main}( ).../index.php:0
20.0002239888require( '/var/www/html/blog/wp-blog-header.php' ).../index.php:17
30.0003257264require_once( '/var/www/html/blog/wp-load.php' ).../wp-blog-header.php:13
40.0004266808require_once( '/var/www/html/blog/wp-config.php' ).../wp-load.php:37
50.0008392472require_once( '/var/www/html/blog/wp-settings.php' ).../wp-config.php:96
60.02252610168require_wp_db( ).../wp-settings.php:106
70.02643058784wpdb->__construct( ).../load.php:404
80.02643060600wpdb->db_connect( ).../wp-db.php:658
90.12223061288wpdb->db_connect( ).../wp-db.php:1563
100.12223061432mysql_connect ( ).../wp-db.php:1568
WordPress›错误

建立数据库连接时出错

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

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