how to set database name in mongodb local string code example Example: mongodb local connection string mongodb://localhost:27017/mydbname