Update mongodb.md

Customers had difficulties finding the correct connection URL for Mongodb Atlas
This commit is contained in:
avinzhang 2024-06-05 11:24:57 +10:00 committed by GitHub
parent 8f550f1757
commit 92c41031a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ CREATE TABLE [IF NOT EXISTS] [db.]table_name
**Engine Parameters**
- `host:port` — MongoDB server address.
- `host:port` — MongoDB server address.
- `database` — Remote database name.
@ -34,10 +34,11 @@ CREATE TABLE [IF NOT EXISTS] [db.]table_name
- `options` — MongoDB connection string options (optional parameter).
:::tip
If you are using the MongoDB Atlas cloud offering please add these options:
If you are using the MongoDB Atlas cloud offering:
```
'connectTimeoutMS=10000&ssl=true&authSource=admin'
- connection url can be obtained from 'Atlas SQL' option
- use options: 'connectTimeoutMS=10000&ssl=true&authSource=admin'
```
:::