MongoDB

Version 24.1.8910


MongoDB


You can use the MongoDB connector from the CData Sync application to move data from any supported source to the MongoDB destination. To do so, you need to add the connector, authenticate to the connector, and complete your connection.

Establish a Connection

To allow Sync to use data from MongoDB, you first must establish a connection to MongoDB. Follow these steps to connect MongoDB to your Sync account:

  1. Open the Connections page of the Sync dashboard.

  2. Click Add Connection to open the Select Connectors page.

  3. Click the Destinations tab and locate the MongoDB row.

  4. Click the Configure Connection icon at the end of that row. If you do not see the Configure Connection icon, you need to add the connector according to the instructions in Connections.

  5. Enter connection settings on the Settings tab:

    • Connection Name - Enter a connection name of your choice.

    • Server - Enter either the host name or the IP address of the server that hosts your MongoDB instance.

    • Port - Enter the port number of the server that hosts your instance of MongoDB. The default port value is 27017.

    • Auth Scheme - Select the authentication scheme. PLAIN is the default setting. For this setting, specify your login credentials:

      • User - Enter the username that you use to authenticate to MongoDB.

      • Password - Enter the password that you use to authenticate to MongoDB database.

    • Database - Enter the name of the database that you want to read from and write to.

    • Auth Database - Enter the name of the MongoDB database for authentication.

    • Replica Set - Enter a comma-separated list of secondary servers in the replica set, specified by address and port.

    • DNS Server - Enter the host name of a Domain Name System (DNS) server that can resolve the necessary DNS entries.

    • Use SSL - Specify whether you want to use the Secure Sockets Layer (SSL) protocol. The default value is False.

  6. Click Create & Test to create the connection.

  7. Define advanced connection settings on the Advanced tab. (In most cases, though, you should not need these settings.)

More Information

For more information about interactions between CData Sync and MongoDB, see MongoDB Connector for CData Sync.