MongoDB

Version 23.4.8843


MongoDB


CData Sync アプリケーションからMongoDB コネクタを使用して、サポートされている任意のデータソースから同期先のMongoDB へデータを移動できます。これを行うには、コネクタを追加し、コネクタへの認証を行い、接続を完了する必要があります。

接続の確立

Sync でMongoDB のデータを使用するには、はじめにMongoDB への接続を確立する必要があります。以下の手順で、MongoDB をSync アカウントに接続します。

  1. Sync のダッシュボードから接続 ページを開きます。

  2. 接続を追加をクリックしてコネクタを選択ページを開きます。

  3. 同期先タブをクリックしてMongoDB 行に移動します。

  4. 行末にある接続を設定アイコンをクリックします。接続を設定アイコンが見当たらない場合は、接続の説明に従ってコネクタを追加する必要があります。

  5. 設定タブで接続の設定を入力します。

    • 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. 作成およびテストをクリックして接続を作成します。

  7. 高度な設定タブで接続の高度な設定を定義します。(ただし、ほとんどの場合これらの設定は必要ありません。)

詳細情報

CData Sync とMongoDB の連携について、詳しくはMongoDB Connector for CData Sync を参照してください。