mongo connection string authenticate but use other database code example
Example 1: mongodb local connection string
mongodb://localhost:27017/mydbname
Example 2: can we replace a mongouri string with localhost
mongodb://mongodb0.example.com:27017