connection string to a database replica set code example Example: mongodb local connection string mongodb://localhost:27017/mydbname