Warning: mysqli_real_connect(): php_network_getaddresses: getaddrinfo for db failed: Temporary failure in name resolution in /var/www/html/wp-includes/class-wpdb.php on line 1994 Call Stack: 0.1462 455056 1. {main}() /var/www/html/index.php:0 0.1774 455408 2. require('/var/www/html/wp-blog-header.php') /var/www/html/index.php:17 0.1774 456048 3. require_once('/var/www/html/wp-load.php') /var/www/html/wp-blog-header.php:13 0.1775 456800 4. require_once('/var/www/html/wp-config.php') /var/www/html/wp-load.php:50 0.1776 566904 5. require_once('/var/www/html/wp-settings.php') /var/www/html/wp-config.php:151 0.5255 778352 6. require_wp_db() /var/www/html/wp-settings.php:136 0.5256 780152 7. wpdb->__construct($dbuser = 'wp', $dbpassword = '[Sensitive Parameter]', $dbname = 'wordpress', $dbhost = 'db:3306') /var/www/html/wp-includes/load.php:724 0.5256 780200 8. wpdb->db_connect($allow_bail = ???) /var/www/html/wp-includes/class-wpdb.php:772 0.5257 780912 9. mysqli_real_connect($mysql = class mysqli { public $client_info = 'mysqlnd 8.2.30'; public $client_version = 80230; public $connect_errno = 0; public $connect_error = NULL; public $errno = 0; public $error = '' }, $hostname = 'db', $username = 'wp', $password = '[Sensitive Parameter]', $database = NULL, $port = 3306, $socket = NULL, $flags = 0) /var/www/html/wp-includes/class-wpdb.php:1994 Warning: mysqli_real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo for db failed: Temporary failure in name resolution in /var/www/html/wp-includes/class-wpdb.php on line 1994 Call Stack: 0.1462 455056 1. {main}() /var/www/html/index.php:0 0.1774 455408 2. require('/var/www/html/wp-blog-header.php') /var/www/html/index.php:17 0.1774 456048 3. require_once('/var/www/html/wp-load.php') /var/www/html/wp-blog-header.php:13 0.1775 456800 4. require_once('/var/www/html/wp-config.php') /var/www/html/wp-load.php:50 0.1776 566904 5. require_once('/var/www/html/wp-settings.php') /var/www/html/wp-config.php:151 0.5255 778352 6. require_wp_db() /var/www/html/wp-settings.php:136 0.5256 780152 7. wpdb->__construct($dbuser = 'wp', $dbpassword = '[Sensitive Parameter]', $dbname = 'wordpress', $dbhost = 'db:3306') /var/www/html/wp-includes/load.php:724 0.5256 780200 8. wpdb->db_connect($allow_bail = ???) /var/www/html/wp-includes/class-wpdb.php:772 0.5257 780912 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 = 'php_network_getaddresses: getaddrinfo for db failed: Temporary failure in name resolution'; public $errno = 2002; public $error = 'php_network_getaddresses: getaddrinfo for db failed: Temporary failure in name resolution' }, $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

php_network_getaddresses: getaddrinfo for db failed: Temporary failure in name resolution

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.