DB2


DB2


セットアップガイド

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

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

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

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

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

  5. Enter the name of the Server running DB2.

  6. Enter the Port the DB2 is listening on.

  7. Enter the name of the DB2 Database.

  8. (Optional) Select whether you want to Use SSL.

  9. Select an AuthScheme and follow the relevant instructions below.

Authentication Methods

USRIDPWD

  1. To authenticate with user credentials, enter the following information:

    • User—enter the username of a user with access to the database.

    • Password—enter the password of a user with access to the database.

  2. Connect AI Add DB2 Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、コネクションが作成されたことを示すConnection successfully saved というメッセージが表示されます。Edit Connection ページのStatusAuthenticated に変わります。Edit Connection ページの右ペインにあるData Model タブで、成功したコネクションのデータモデルを表示します。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。Connect AI は、データが不足している必須フィールドの下にエラーメッセージを表示します。一部のデータソースでは、ソースのWeb サイトに直接サインインする必要があります。サインインしていない場合は、Sign in ボタンの下にエラーメッセージが表示されます。エラーを修正し、もう一度試してください。

    • 失敗したコネクションは下書きとして保存され、StatusNot Authenticated になります。後でコネクションに戻って認証することができます。

EUSRIDPWD

  1. To authenticate with encrypted user credentials, select EUSRIDPWD and enter the following information:

    • User—enter the username of a user with access to the database.

    • Password—enter the password of a user with access to the database.

  2. Connect AI Add DB2 Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、コネクションが作成されたことを示すConnection successfully saved というメッセージが表示されます。Edit Connection ページのStatusAuthenticated に変わります。Edit Connection ページの右ペインにあるData Model タブで、成功したコネクションのデータモデルを表示します。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。Connect AI は、データが不足している必須フィールドの下にエラーメッセージを表示します。一部のデータソースでは、ソースのWeb サイトに直接サインインする必要があります。サインインしていない場合は、Sign in ボタンの下にエラーメッセージが表示されます。エラーを修正し、もう一度試してください。

    • 失敗したコネクションは下書きとして保存され、StatusNot Authenticated になります。後でコネクションに戻って認証することができます。

IBMIAMAuth

  1. To authenticate using the API key of an application that connects to it, select IBMIAMAuth and enter the following information:

    • User—enter the the IBM ID or service ID of a DB2 server user.

    • Password—enter the API key associated with the application that requires access to the DB2 database.

  2. Connect AI Add DB2 Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、コネクションが作成されたことを示すConnection successfully saved というメッセージが表示されます。Edit Connection ページのStatusAuthenticated に変わります。Edit Connection ページの右ペインにあるData Model タブで、成功したコネクションのデータモデルを表示します。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。Connect AI は、データが不足している必須フィールドの下にエラーメッセージを表示します。一部のデータソースでは、ソースのWeb サイトに直接サインインする必要があります。サインインしていない場合は、Sign in ボタンの下にエラーメッセージが表示されます。エラーを修正し、もう一度試してください。

    • 失敗したコネクションは下書きとして保存され、StatusNot Authenticated になります。後でコネクションに戻って認証することができます。