SQL Server


SQL Server


前提条件

CData IP をホワイトリストに登録

SQL Server への接続を確立するには、CData のIP 経由でSQL Server へのアクセスを許可する必要があります。SQL Server をファイアウォールの内側でホスティングする場合は、これらのIP アドレスをファイアウォールの許可リストに登録する必要があります。

  • 範囲:52.224.0.16052.224.0.175

  • CIDR 表記:52.224.0.160/28

SQL Server が一般にアクセス可能であることを確認

パブリックフェイシングIP / ドメインを指定して、このデータソースに接続します。次のプライベートIP の範囲は機能しません。

  • 10.0.0.0 to 10.255.255.255

  • 172.16.0.0 to 172.31.255.255

  • 192.168.0.0 to 192.168.255.255

  • 127.0.0.1 (aka ‘localhost’)

セットアップガイド

以下の手順で、SQL Server をCData Connect アカウントに接続します。

  1. CData Connect のダッシュボードからConnections ページを開きます。

  2. 右上の+ Add Connection をクリックします。

  3. 検索フィールドに SQL Server と入力し、データソース名をクリックします。

  4. 新しいコネクションのBasic Settings タブで、コネクション名を入力するかデフォルトの名前をそのまま使用します。

  5. Enter the host name or IP address of the Server running SQL Server.

  6. Enter SQL Server サーバーに接続するためのポート in the Port field.

  7. Enter the name of the Database to connect to.

  8. Select the Authentication method, then proceed to the relevant section and follow those instructions.

Authentication Methods

Password

  1. Enter 認証用のSQL Server ユーザー名 in the User field.

  2. In the Password field, enter ユーザーパスワード.

  3. CData Connect Add SQL Server Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、接続が作成されたことを示すメッセージが表示されます。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。そして、もう一度試してください。

AzurePassword

  1. Enter 認証用のSQL Server ユーザー名 in the User field.

  2. In the Password field, enter ユーザーパスワード.

  3. Enter the Azure Tenant Id found on the Overview page of the OAuth app used to authenticate to Microsoft SharePoint on Azure.

AzureAD

  1. Enter the Azure Tenant Id found on the Overview page of the OAuth app used to authenticate to Microsoft SharePoint on Azure.

  2. OAuth でセキュアに接続するには、Sign in をクリックします。これにより、SQL Server のサインインページが新しいタブで開かれます。

  3. SQL Server アカウントにログインし、リクエストされた権限を設定します(該当する場合)。

  4. CData Connect Add SQL Server Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、接続が作成されたことを示すメッセージが表示されます。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。そして、もう一度試してください。

Azure Service Principal

  1. Copy the client Id from SQL Server and paste it in the OAuth Client Id field in CData Connect.

  2. Copy the client secret from SQL Server and paste it in the OAuth Client Secret field in CData Connect.

  3. Enter the Azure Tenant Id found on the Overview page of the OAuth app used to authenticate to Microsoft SharePoint on Azure.

  4. CData Connect Add SQL Server Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、接続が作成されたことを示すメッセージが表示されます。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。そして、もう一度試してください。

詳細について

CData Connect とSQL Server の連携の詳細動作については、こちらのページを参照してください。