Could not connect to database

php_network_getaddresses: getaddrinfo failed: No such host is known.