• Resolved cpuller

    (@cpuller)


    Hi there,

    I am trying to go in and edit my staging site. However, I am getting this error messaging when choosing “Open” from the “Actions” button under my Staging sites. Can someone please help for what I need to do? Thank you!

    ———

    Warning: mysqli_real_connect(): php_network_getaddresses: getaddrinfo for mysql-cluster-2-mysql-master.database.svc.cluster.local failed: Name does not resolve in /var/www/wptbox/aktion-productio/wp-includes/class-wpdb.php on line 1987

    Warning: mysqli_real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo for mysql-cluster-2-mysql-master.database.svc.cluster.local failed: Name does not resolve in /var/www/wptbox/aktion-productio/wp-includes/class-wpdb.php on line 1987

    php_network_getaddresses: getaddrinfo for mysql-cluster-2-mysql-master.database.svc.cluster.local failed: Name does not resolveError 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 mysql-cluster-2-mysql-master.database.svc.cluster.local:3306 could not be established. This could mean your host’s database server is down.

    • Are you sure you have the correct username and password?
    • Are you sure you have typed the correct hostname?
    • Are you sure the database server is running?

    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.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor fayyazfayzi

    (@fayyazfayzi)

    Hi @cpuller ,

    The error indicates that the hostname mysql-cluster-2-mysql-master.database.svc.cluster.local is not resolving, which means WordPress cannot connect to the database. This could happen if, the hostname in your wp-config.php file is incorrect. Please verify it matches your database server settings.

    To resolve this, please check: Your database hostname, username, and password in the wp-config.php file.

    If you need further assistance, we recommend reaching out to us via our support form for dedicated technical support: WP Staging Support Form.

    We’ll be happy to help you get this resolved!

    Cheers!
    Fayyaz

Viewing 1 replies (of 1 total)

The topic ‘Error Opening Staging Site’ is closed to new replies.