( ! ) Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /www/wwwroot/hearthpawspet.com/wp-includes/class-wpdb.php on line 1994
Call Stack
#TimeMemoryFunctionLocation
10.0065362488{main}( ).../index.php:0
20.0073363752require( '/www/wwwroot/hearthpawspet.com/wp-blog-header.php ).../index.php:17
30.0088373368require_once( '/www/wwwroot/hearthpawspet.com/wp-load.php ).../wp-blog-header.php:13
40.0100383392require_once( '/www/wwwroot/hearthpawspet.com/wp-config.php ).../wp-load.php:50
50.0118475256require_once( '/www/wwwroot/hearthpawspet.com/wp-settings.php ).../wp-config.php:105
60.14254158336require_wp_db( ).../wp-settings.php:136
70.14694480432wpdb->__construct( $dbuser = 'hearthpawspet_db', $dbpassword = '[Sensitive Parameter]', $dbname = 'hearthpawspet_db', $dbhost = 'localhost' ).../load.php:724
80.14694480480wpdb->db_connect( $allow_bail = ??? ).../class-wpdb.php:772
90.14704481200mysqli_real_connect( $mysql = class mysqli { public $client_info = 'mysqlnd 8.2.28'; public $client_version = 80228; public $connect_errno = 2002; public $connect_error = 'Connection refused'; public $errno = 2002; public $error = 'Connection refused' }, $hostname = 'localhost', $username = 'hearthpawspet_db', $password = '[Sensitive Parameter]', $database = NULL, $port = NULL, $socket = NULL, $flags = 0 ).../class-wpdb.php:1994
WordPress › 错误

Connection refused

建立数据库连接时出错

您看到此页面,则表示您在 wp-config.php 文件中定义的用户名和密码信息不正确,或是我们无法与 数据库服务器 localhost 进行通信。也可能是您主机的数据库服务器未在运行。

若您不明白这些术语的含义,则应联系您的主机商。若仍需要帮助,可随时访问 WordPress 支持论坛