Use database settings and not dns, dns not supported by legacy config injection