functionality for choosing a different database connection.