An error was encountered

Error: Unable to connect to MySQL server. MySQL reported: php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known.