Connect to multiple MongoDB databases and collections.