An error was encountered

Error: Unable to connect to MySQL and select database. MySQL reported: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution.