connect to mongodb with string code example
Example: mongodb connection string
mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]
mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]