Azure SQL Database

Version 26.2.9623


Azure SQL Database


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

Azure SQL Database コネクタを追加

Sync でAzure SQL Database のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります。

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

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

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

  4. 行末にある接続を設定アイコンをクリックして、新しい接続ページを開きます。この操作により、接続を追加ダイアログボックスが開きます。

    Note:接続を設定アイコンが表示されない場合は、コネクタをダウンロードアイコンをクリックして Azure SQL Database コネクタをインストールしてください。

  5. 接続を追加ダイアログボックスに接続名を入力します。

  6. 追加をクリックして、コネクタの設定タブを開きます。

新しいコネクタのインストールについての詳細は、接続を参照してください。

Azure SQL Database への認証

コネクタを追加したら、必須プロパティを設定する必要があります。

  • Server: Enter the name of the data source to which you want to connect.

  • Port: Enter the port number for the Azure SQL Database. The default port value is 1433.

  • Database: Enter the name of the intial catalog or database in your data source.

CData Sync supports authenticating to Azure SQL Database in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.

SQL Password

To connect with your SQL password, specify the following properties:

  • Auth Scheme: Select SqlPassword.

  • User: Enter the username that you use to authenticate to Azure SQL Database.

  • Password: Enter the password that you use to authenticate to Azure SQL Database.

Active Directory Service Principal

To connect with an Active Directory service principal, set the following properties:

  • Auth Scheme: Select ActiveDirectoryServicePrincipal.

  • Principal Id: Enter your principal identifier (Id).

  • Principal Secret: Enter your principal secret.

Active Directory Password

To connect with an Active Directory password, set the following properties:

  • Auth Scheme: Select ActiveDirectoryPassword.

  • User: Enter the username that you use to authenticate to Azure SQL Database.

  • Password: Enter the password that you use to authenticate to Azure SQL Database.

Active Directory Managed Service Identity

To leverage the Active Directory Managed Service Identity (MSI) when CData Sync is running on an Azure virtual machine, select ActiveDirectoryMSI for Auth Scheme. No additional properties are required.

Complete Your Connection

To complete your connection:

  1. Specify the following properties:

    • Trust Server Certificate: Select whether you want to trust the server certificate. By default, the Enable checkbox is already selected.

    • Encrypt: Select whether you want to encrypt the database. By default, the Enable checkbox is not selected.

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

  3. 作成およびテストをクリックして接続を作成します。

Note: The Java version requires the Microsoft SQL Server JDBC driver. You can download the driver from the Microsoft Download Center.

Copy the JDBC driver into the libs directory and restart the server.

  • Microsoft Windows: C:\ProgramData\CData\sync\libs

  • UNIX or Mac OS X: ~/cdata/sync/libs