MySQL

Version 23.4.8843


MySQL


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

MySQL コネクタを追加

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

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

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

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

  4. 行末にある接続を設定アイコンをクリックして、新しい接続ページを開きます。接続を設定アイコンが利用できない場合は、コネクタをダウンロードアイコンをクリックしてMySQL コネクタをインストールします。新規コネクタのインストールについて詳しくは、接続を参照してください。

MySQL への認証

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

  • Connection Name - Enter a connecton name of your choice

  • Server - Enter the host name or IP address of the server that hosts the MySQL database. To connect to the database from the same machine, enter localhost as the value for Server.

  • Port - Enter the port number of the server that hosts the MySQL database. The default port value is 3306.

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

Password

ユーザー資格情報で接続するには、次のプロパティを設定します。

  • Auth SchemePassword を選択。

  • User:MySQL アカウントへの認証に使用するユーザー名を入力。

  • Password:MySQL アカウントへの認証に使用するパスワードを入力。

NTLM

To connect with your NTLM user credentials, specify the following properties:

  • Auth Scheme – Select NTLM.

  • User - Enter the username that you use to authenticate to your MySQL account.

  • Password - Enter the password that you use to authenticate to your MySQL account.

  • Domain (optional) - Enter the domain name for a Microsoft Windows (NTLM) security login.

  • NTLM Version (optional) - Select your NTLM version. The default version is 1.

Azure Active Directory

To connect with your Azure Active Directory credentials, specify the following properties:

  • Auth Scheme – Select AzureAD.

  • User - Enter the username that you use to authenticate to your MySQL account.

  • Azure Tenant - Enter the Microsoft Online tenant to which you want to connect. If you do not specify a tenant, CData Sync uses the default tenant.

  • OAuth Client Id - Enter the client Id that you were assigned when you registered your application with an OAuth authorization server.

  • OAuth Client Secret - Enter the client secret that you were assigned when you registered your application with an OAuth authorization server.

AzurePassword

Azure パスワードで接続するには、以下を指定します。

  • Auth Scheme - AzurePassword を選択。

  • User - Azure への認証に使用するユーザー名を入力。

  • Password - Azure への認証に使用するパスワードを入力。

  • Azure Tenant - OAuth およびクライアントアプリケーションが作成されたAzure テナントのId を入力。このId は、いずれかのアプリケーションの概要ページのディレクトリ (テナント) ID で確認できます。

Azure Managed Service Identity

To connect with your Azure Managed Service Identity credentials, specify the following properties:

  • Auth Scheme - Select AzureMSI.

  • Azure Tenant - Enter the Microsoft Online tenant to which you want to connect. If you do not specify a tenant, CData Sync uses the default tenant.username that you use to connect to your MySQL account.

AWS IAM Roles

To connect with your IAM user credentials, specify the following properties:

  • Auth Scheme - Select AwsIAMRoles.

  • User - Enter the username that you use to authenticate to your MySQL account.

  • AWS Access Key - Enter your Amazon Web Services (AWS) account access key. This value is available on you AWS security-credentials page.

  • AWS Secret - Enter your Amazon Web Services (AWS) account secret. This value is available on you AWS security-credentials page.

  • AWS Role Arn - Enter the Amazon Resource Name of the role that you want to use when you authenticate.

AWS EC2 Roles

EC2 インスタンスでCData Sync を実行すると、CData Sync はインスタンスに割り当てられたIAM ロールを使用して認証できます。そのロールを使用するには、Auth SchemeAwsEC2Roles を選択します。追加のプロパティは必要ありません。

LDAP

To connect with your LDAP credentials, specify the following properties:

  • Auth Scheme - Select LDAP.

  • User - Enter the username that you use to authenticate to your MySQL account.

  • Password - Enter the password that you use to authenticate to your MySQL account.

Complete Your Connection

To complete your connection:

  1. Specify the following properties:

    • Database (optional) - Enter the default database to which you want to connect when you connect to the MySQL server.

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

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

  3. AzureAD, AzureMSI, or AzurePassword で認証する場合は、MySQL への接続 をクリックしてMySQL アカウントに接続します。

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

詳細情報

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