Skip to content

Commit 5feaa63

Browse files
committed
edit pass: mongodb-vcore-how-to-connect
1 parent bea8dd5 commit 5feaa63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cosmos-db/mongodb/vcore/how-to-connect-mongo-shell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To add your Azure Cosmos DB cluster to MongoDB Shell, perform the following step
4141

4242
2. Connect by using either of these methods:
4343

44-
- By entering the password in the Mongo Shell prompt. Your connection string looks like this example:
44+
- Enter the password in the Mongo Shell prompt. Your connection string looks like this example:
4545

4646
```
4747
"mongodb+srv://<username>@<servername>.mongocluster.cosmos.azure.com/?tls=true&authMechanism=SCRAM-SHA-256&retrywrites=false&maxIdleTimeMS=120000"
@@ -57,7 +57,7 @@ To add your Azure Cosmos DB cluster to MongoDB Shell, perform the following step
5757
5858
After you provide the password and are successfully authenticated, this warning appears: "This server or service appears to be an emulation of MongoDB." You can ignore it. The shell is notifying you that you aren't connected to an emulation of MongoDB. For an Azure platform as a service (PaaS) offering, this warning is expected.
5959
60-
- By providing the password as a part of the connection string. The format looks something like this example:
60+
- Provide the password as a part of the connection string. The format looks something like this example:
6161
6262
```
6363
mongosh "mongodb+srv://<SERVERNAME>.mongocluster.cosmos.azure.com/?tls=true&authMechanism=SCRAM-SHA-256&retrywrites=false&maxIdleTimeMS=120000" --username "<USER>" -password "<PASSWORD>"

0 commit comments

Comments
 (0)