Call openDB only when arguments.