XenForo Database error after moving to new server

T

twollert

Guest
I tested moving my database and files to a new server. The config.php contains the new database details. data and internal_data is set to CHMOD 777.

But when I try to enter the site I get the following error:

An unexpected database error occurred. Please try again later.
<!-- php_network_getaddresses: getaddrinfo failed: Name or service not known -->
Click to expand...

XF 2.2.12
PHP 8.0.27

What can I do to fix it?

Continue reading...