Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /var/www/html/wp-includes/class-wpdb.php on line 1994 Call Stack: 0.0003 455016 1. {main}() /var/www/html/index.php:0 0.0003 455368 2. require('/var/www/html/wp-blog-header.php') /var/www/html/index.php:17 0.2595 456008 3. require_once('/var/www/html/wp-load.php') /var/www/html/wp-blog-header.php:13 0.2596 456760 4. require_once('/var/www/html/wp-config.php') /var/www/html/wp-load.php:50 0.2597 566864 5. require_once('/var/www/html/wp-settings.php') /var/www/html/wp-config.php:151 0.8632 778312 6. require_wp_db() /var/www/html/wp-settings.php:136 0.8634 780112 7. wpdb->__construct($dbuser = 'wp', $dbpassword = '[Sensitive Parameter]', $dbname = 'wordpress', $dbhost = 'db:3306') /var/www/html/wp-includes/load.php:724 0.8634 780160 8. wpdb->db_connect($allow_bail = ???) /var/www/html/wp-includes/class-wpdb.php:772 0.8635 780872 9. mysqli_real_connect($mysql = class mysqli { public $client_info = 'mysqlnd 8.2.30'; public $client_version = 80230; public $connect_errno = 2002; public $connect_error = 'Connection refused'; public $errno = 2002; public $error = 'Connection refused' }, $hostname = 'db', $username = 'wp', $password = '[Sensitive Parameter]', $database = NULL, $port = 3306, $socket = NULL, $flags = 0) /var/www/html/wp-includes/class-wpdb.php:1994 WordPress › Error

Connection refused

Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or that contact with the database server at db:3306 could not be established. This could mean your host’s database server is down.

If you are unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress support forums.