external database configuration