Auto-use database when provided as an option.