Skip to content

Commit

Permalink
Incorporate review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dacharyc committed Sep 19, 2023
1 parent d85ae98 commit 36643b7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions source/fundamentals/connection/connect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ Connection Guide
:depth: 2
:class: singlecol

This guide shows you how to connect to a MongoDB Atlas instance,
another MongoDB instance, or a replica set using the Node.js driver.
This guide shows you how to connect to a
`MongoDB Atlas deployment <https://www.mongodb.com/docs/atlas>`__,
a MongoDB instance, or a replica set using the Node.js driver.

.. _node-connection-uri:

Expand All @@ -34,7 +35,7 @@ example shows each part of the connection URI:
:alt: Each part of the connection string

In this example, we connect to an Atlas MongoDB deployment that has a
DNS SRV record. For more details, refer to the
DNS SRV record. For more details, see the
:manual:`DNS Seed List Connection Format
</reference/connection-string/#dns-seed-list-connection-format>`
documentation. This format offers flexibility in deployment and the
Expand All @@ -45,8 +46,10 @@ ability to change the servers in rotation without reconfiguring clients.
To learn how to retrieve your connection string in Atlas, see the
:atlas:`Atlas driver connection guide </driver-connection>`.

Alternately, you could use ``mongodb`` for the protocol, which specifies
the :manual:`Standard Connection String Format </reference/connection-string/#std-label-connections-standard-connection-string-format>`.
If you are connecting to an instance or replica set that does not have a
DNS SRV address, you must use ``mongodb`` for the protocol, which specifies
the :manual:`Standard Connection String Format
</reference/connection-string/#std-label-connections-standard-connection-string-format>`.

After the protocol, the next part of the connection string contains credentials
if you are using password-based authentication. Replace the value of ``user``
Expand Down

0 comments on commit 36643b7

Please sign in to comment.