Skip to content

Commit a2917fa

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-24022-connection-string-mongosync (#90)
* DOCSP-24022-connection-string-mongosync * DOCSP-24022-connection-string-mongosync Co-authored-by: jason-price-mongodb <[email protected]>
1 parent cf864c4 commit a2917fa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/includes/example-connect.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,18 @@ following command on one line:
5050
clusterTwo02.fancyCorp.com:20020,
5151
clusterTwo03.fancyCorp.com:20020
5252
53-
Atlas clusters require TLS/SSL connections. To use ``mongosync`` with
54-
Atlas clusters, you add the :urioption:`ssl=true <ssl>` option. For
55-
example:
53+
Atlas clusters require TLS connections. To use ``mongosync`` with Atlas
54+
clusters, you add the :urioption:`tls=true <tls>` option. For example,
55+
to connect to the ``admin`` database on ``cluster0`` and ``cluster1``:
5656

5757
.. code-block:: shell
5858
5959
mongosync \
60-
--cluster0 'mongodb://clusterAdmin:[email protected]:20020,clusterOne02.fancyCorp.com:20020,clusterOne03.fancyCorp.com:20020/?ssl=true' \
61-
--cluster1 'mongodb://clusterAdmin:[email protected]:20020,clusterTwo02.fancyCorp.com:20020,clusterTwo03.fancyCorp.com:20020/?ssl=true'
60+
--cluster0 'mongodb://clusterAdmin:[email protected]:20020,clusterOne02.fancyCorp.com:20020,clusterOne03.fancyCorp.com:20020/admin?tls=true' \
61+
--cluster1 'mongodb://clusterAdmin:[email protected]:20020,clusterTwo02.fancyCorp.com:20020,clusterTwo03.fancyCorp.com:20020/admin?tls=true'
6262
6363
You can also use ``mongodb+srv`` connection strings with ``mongosync``.
64-
You do not need to add the :urioption:`ssl=true <ssl>` option to a
64+
You do not need to add the :urioption:`tls=true <tls>` option to a
6565
``mongodb+srv`` connection string. For example:
6666

6767
.. code-block:: shell

0 commit comments

Comments
 (0)