Skip to content

Commit 987ec61

Browse files
committed
update credentials
1 parent 6481fad commit 987ec61

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

source/connect/connection-targets.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ To connect to a MongoDB deployment on Atlas, include the following elements
3030
in your connection string:
3131

3232
- The URL of your Atlas cluster
33-
- Your MongoDB username
34-
- Your MongoDB password
33+
- Your MongoDB database username
34+
- Your MongoDB database password
3535

3636
Then, pass your connection string to the ``MongoClient`` constructor.
3737

source/connect/mongoclient.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ A standard connection string includes the following components:
5252
- Required. A prefix that identifies this as a string in the
5353
standard connection format.
5454

55-
* - ``username:password``
55+
* - ``db_username:db_password``
5656

5757
- Optional. Authentication credentials. If you include these, the client
58-
authenticates the user against the database specified in ``authSource``.
58+
authenticates the database user against the database specified in ``authSource``.
5959
For more information about the ``authSource`` connection option,
6060
see :ref:`kotlin-sync-auth`.
6161

@@ -67,7 +67,7 @@ A standard connection string includes the following components:
6767
* - ``/defaultauthdb``
6868

6969
- Optional. The authentication database to use if the
70-
connection string includes ``username:password@``
70+
connection string includes ``db_username:db_password@``
7171
authentication credentials but not the ``authSource`` option. If you don't include
7272
this component, the client authenticates the user against the ``admin`` database.
7373

0 commit comments

Comments
 (0)