@@ -38,56 +38,53 @@ Procedure
38
38
39
39
.. step:: Click the :guilabel:`General` tab.
40
40
41
- .. procedure::
42
- :style: connected
41
+ a) Select a connection string scheme.
43
42
44
- .. step:: Select a connection string scheme.
43
+ You can select one of the following options:
45
44
46
- You can select one of the following options:
45
+ .. list-table::
46
+ :header-rows: 1
47
+ :class: border-table
47
48
48
- .. list-table::
49
- :header-rows: 1
50
- :class: border-table
49
+ * - Connection String Scheme
50
+ - Definition
51
51
52
- * - Connection String Scheme
53
- - Definition
52
+ * - mongodb
53
+ - :manual:`Standard Connection String Format </reference/connection-string/>`.
54
+ The standard format of the MongoDB connection URI is used to
55
+ connect to a MongoDB deployment by specifying its hosts directly.
54
56
55
- * - mongodb
56
- - :manual:`Standard Connection String Format </reference/connection-string/>`.
57
- The standard format of the MongoDB connection URI is used to
58
- connect to a MongoDB deployment by specifying its hosts directly.
57
+ * - mongodb+srv
58
+ - :manual:`DNS Seed List Connection Format
59
+ </reference/connection-string/#dns-seed-list-connection-format>`.
60
+ The ``+srv`` indicates to |compass| that the hostname that follows
61
+ corresponds to a DNS SRV record.
59
62
60
- * - mongodb+srv
61
- - :manual:`DNS Seed List Connection Format
62
- </reference/connection-string/#dns-seed-list-connection-format>`.
63
- The ``+srv`` indicates to |compass| that the hostname that follows
64
- corresponds to a DNS SRV record.
63
+ b) Enter a Hostname.
65
64
66
- .. step:: Enter a Hostname.
65
+ In the :guilabel:`Host` field, enter the hosts or hostname of the server
66
+ where the deployment is running.
67
67
68
- In the :guilabel:`Host` field, enter the hosts or hostname of the server
69
- where the deployment is running.
68
+ If you are running your deployment locally, this value is ``localhost``.
69
+ If you are connecting to an Atlas cluster, see
70
+ :atlas:`Connect to Database Deployment </connect-to-database-deployment/>`
71
+ for Atlas-specific guidance on how to connect with |compass-short|.
70
72
71
- If you are running your deployment locally, this value is ``localhost``.
72
- If you are connecting to an Atlas cluster, see
73
- :atlas:`Connect to Database Deployment </connect-to-database-deployment/>`
74
- for Atlas-specific guidance on how to connect with |compass-short|.
73
+ If you are not sure of your hostname, contact your Database
74
+ Administrator for information.
75
75
76
- If you are not sure of your hostname, contact your Database
77
- Administrator for information.
76
+ c) (Optional) Enable Direct Connection.
78
77
79
- .. step:: (Optional) Enable Direct Connection.
78
+ When you use the ``mongodb`` Connection String Scheme, you have the
79
+ option to enable a :driver:`Direct Connection
80
+ </node/current/fundamentals/connection/#direct-connection>`. When you
81
+ enable this setting, |compass-short| runs all operations on the specified
82
+ host.
80
83
81
- When you use the ``mongodb`` Connection String Scheme, you have the
82
- option to enable a :driver:`Direct Connection
83
- </node/current/fundamentals/connection/#direct-connection>`. When you
84
- enable this setting, |compass-short| runs all operations on the specified
85
- host.
86
-
87
- .. important::
88
- When you specify ``directConnection`` and connect to a secondary member
89
- of a replica set, your write operations fail because it is not the
90
- primary member.
84
+ .. important::
85
+ When you specify ``directConnection`` and connect to a secondary member
86
+ of a replica set, your write operations fail because it is not the
87
+ primary member.
91
88
92
89
.. step:: (Optional) For advanced connection configuration options, click the :ref:`Advanced <advanced-connection-tab>` tab.
93
90
0 commit comments