From ab8d3e2e02a4f57ef72dd1b22df1aa426412da9c Mon Sep 17 00:00:00 2001 From: shuangela Date: Fri, 28 Mar 2025 11:05:52 -0400 Subject: [PATCH] DOCSP-48710 change user/pw info (#112) * change user/pw info * try to fix bolding * fix bold * fix bold * fix bold (cherry picked from commit c9e9fac3b2ed8372013b7ee5808b31a03866d439) --- source/connect/connection-targets.txt | 4 ++-- source/get-started.txt | 8 ++++---- source/security/authentication.txt | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/connect/connection-targets.txt b/source/connect/connection-targets.txt index f5c31b37..ae720bcb 100644 --- a/source/connect/connection-targets.txt +++ b/source/connect/connection-targets.txt @@ -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. diff --git a/source/get-started.txt b/source/get-started.txt index 2205a256..4af6458d 100644 --- a/source/get-started.txt +++ b/source/get-started.txt @@ -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 ```` and ```` placeholders with - your database user's username and password. - + Paste this connection string into a file in your preferred text editor and replace + the ```` and ```` 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 diff --git a/source/security/authentication.txt b/source/security/authentication.txt index b09f17c4..853b2d81 100644 --- a/source/security/authentication.txt +++ b/source/security/authentication.txt @@ -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"``.