All sites with error to establish connection to db #1857
Replies: 1 comment
-
Tried everything but restarting the server. Restarted and things got back to work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello people.
Today all my sites went down on my VPS server, with the following error:
Warning: mysqli_real_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/htdocs/wp-includes/class-wpdb.php on line 1982
Warning: mysqli_real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/htdocs/wp-includes/class-wpdb.php on line 1982
php_network_getaddresses: getaddrinfo failed: Name or service not known
Every site is showing the same error, I've already checked
wp-config.php
data and everything is correct, also restarted sites, refreshed services, and all the usual stuff. I can't even dump sites' database since it saysmysqldump: Got error: 2005: "Unknown MySQL server host 'global-db' (-2)" when trying to connect
. Even ee-admin is unaccessible :(Do you have any lights on this?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions