( ! ) Warning: mysqli_real_connect(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /var/www/sites/www.dinibao.net/wp-includes/wp-db.php on line 1753
Call Stack
#TimeMemoryFunctionLocation
10.0001360136{main}( ).../index.php:0
20.0001361424require( '/var/www/sites/www.dinibao.net/wp-blog-header.php ).../index.php:17
30.0001361808require_once( '/var/www/sites/www.dinibao.net/wp-load.php ).../wp-blog-header.php:13
40.0001362496require_once( '/var/www/sites/www.dinibao.net/wp-config.php ).../wp-load.php:50
50.0001363776require_once( '/var/www/sites/www.dinibao.net/wp-settings.php ).../wp-config.php:100
60.0006581016require_wp_db( ).../wp-settings.php:124
70.0006582560wpdb->__construct( $dbuser = 'www.dinibao.net', $dbpassword = '1c0ce2397ef5a6f2bf33a', $dbname = 'www.dinibao.net', $dbhost = 'db' ).../load.php:561
80.0006582560wpdb->db_connect( $allow_bail = ??? ).../wp-db.php:724
90.0007584128mysqli_real_connect( $link = class mysqli { public $client_info = 'mysqlnd 7.4.29'; public $client_version = 70429; public $connect_errno = 0; public $connect_error = NULL; public $errno = 0; public $error = '' }, $host = 'db', $user = 'www.dinibao.net', $password = '1c0ce2397ef5a6f2bf33a', $database = NULL, $port = NULL, $socket = NULL, $flags = 0 ).../wp-db.php:1753

( ! ) Warning: mysqli_real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /var/www/sites/www.dinibao.net/wp-includes/wp-db.php on line 1753
Call Stack
#TimeMemoryFunctionLocation
10.0001360136{main}( ).../index.php:0
20.0001361424require( '/var/www/sites/www.dinibao.net/wp-blog-header.php ).../index.php:17
30.0001361808require_once( '/var/www/sites/www.dinibao.net/wp-load.php ).../wp-blog-header.php:13
40.0001362496require_once( '/var/www/sites/www.dinibao.net/wp-config.php ).../wp-load.php:50
50.0001363776require_once( '/var/www/sites/www.dinibao.net/wp-settings.php ).../wp-config.php:100
60.0006581016require_wp_db( ).../wp-settings.php:124
70.0006582560wpdb->__construct( $dbuser = 'www.dinibao.net', $dbpassword = '1c0ce2397ef5a6f2bf33a', $dbname = 'www.dinibao.net', $dbhost = 'db' ).../load.php:561
80.0006582560wpdb->db_connect( $allow_bail = ??? ).../wp-db.php:724
90.0007584128mysqli_real_connect( $link = class mysqli { public $client_info = 'mysqlnd 7.4.29'; public $client_version = 70429; public $connect_errno = 2002; public $connect_error = 'php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution'; public $errno = 2002; public $error = 'php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution' }, $host = 'db', $user = 'www.dinibao.net', $password = '1c0ce2397ef5a6f2bf33a', $database = NULL, $port = NULL, $socket = NULL, $flags = 0 ).../wp-db.php:1753
WordPress › 错误

php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution

建立数据库连接时出错

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 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.