MongoDB
Preparation
Add IP Address to Whitelist
Please add the following IP address to the whitelist in your database firewall rules:
35.187.200.118
Connection Method
1. Create a new data source connection
- Click the [Resources] tab.
- Click the [Create] button next to [Resources].
- Select [MongoDB].
2. Enter the connection information
Common Items
Field | Description |
---|---|
Name | Enter the name of the MongoDB connection (e.g., Querier DB ). |
Connection Method | Choose either Standard or DNS Seed List . |
Database Name | Enter the database name of the MongoDB you are connecting to. |
Database Username | Enter the database username for the MongoDB connection. |
Database Password | Enter the password for the MongoDB connection. |
SSL Connection | Whether to connect to the database via SSL. |
When connecting via DNS Seed List
Field | Description |
---|---|
Host | Enter the host of the MongoDB connection (e.g., cluster0.xxx.mongodb.net ). |
※ For users of version 3.6 or above, it is recommended to connect using DNS Seed List.
When connecting via Standard
Field | Description |
---|---|
Host | Enter the host of the MongoDB connection (e.g., cluster0-shard-00-01.xxx.mongodb.net ). |
Port | Enter the port for the MongoDB connection (e.g., 27017 ). |