connect string mongo db code example
Example 1: mongodb local connection string
mongodb://localhost:27017/mydbname
Example 2: mongodb connection string
mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]
mongodb://localhost:27017/mydbname
mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]