Support for dynamic database connections