ERROR: failed to connect to the database.