Zenphoto encountered an error

MySQL Error: Zenphoto received the error php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution when connecting to the database server.