Skip to content

[Backport v3.11] DOCSP-48710 change user/pw info #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/connect/connection-targets.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ To connect to a MongoDB deployment on Atlas, include the following elements
in your connection string:

- URI of your Atlas cluster
- MongoDB username
- MongoDB password
- MongoDB database username
- MongoDB database password

Then, pass your connection string to the ``mongocxx::uri`` constructor, and use
the ``mongocxx::uri`` object to construct a ``mongocxx::client`` object.
Expand Down
8 changes: 4 additions & 4 deletions source/get-started.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ To connect to an instance or deployment not hosted on Atlas, see the

.. step:: Update the Placeholders

Paste this connection string into a file in your preferred text editor
and replace the ``<username>`` and ``<password>`` placeholders with
your database user's username and password.
Paste this connection string into a file in your preferred text editor and replace
the ``<username>`` and ``<password>`` placeholders with your database user's
username and password.

Save this file to a safe location for use in the next step.

After completing these steps, you have a connection string that
Expand Down
4 changes: 2 additions & 2 deletions source/security/authentication.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ running MongoDB v3.6.

To authenticate with this mechanism, set the following connection options:

- ``db_username``: The username to authenticate.
- ``db_password``: The password to authenticate.
- ``db_username``: The database username to authenticate.
- ``db_password``: The databse password to authenticate.
- ``authSource``: The MongoDB database to authenticate against. By default,
{+driver-short+} authenticates against the ``admin`` database.
- ``authMechanism``: Set to ``"SCRAM-SHA-1"``.
Expand Down