Uses the new method for opening database connections.