External database configuration