Could not connect to database

php_network_getaddresses: getaddrinfo failed: No address associated with hostname