> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sync.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Informix (Native)

export const CommonDatasourceAddConnector = ({datasource = "the data source", title = "the connector", destination = false, siteNameShort = "Sync"}) => {
  return <>
      <p>
        {siteNameShort} で{datasource} のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります：
      </p>
      <ol>
        <li>{siteNameShort} のダッシュボードから<strong>接続</strong>ページを開きます。</li>
        <li><strong>接続を追加</strong>をクリックして<strong>コネクタを選択</strong>ページを開きます。</li>
        <li>
          <strong>{destination ? "同期先" : "データソース"}</strong>タブをクリックして
          <strong>{title}</strong> 行に移動します。
        </li>
        <li>
          行末にある<strong>接続を設定</strong>アイコンをクリックして、<strong>新しい接続</strong>ページを開きます。この操作により、{' '}
          <strong>接続を追加</strong>ダイアログボックスが開きます。
          <br />
          <strong>Note：</strong> <strong>接続を設定</strong>アイコンが表示されない場合は、<strong>コネクタをダウンロード</strong>アイコンをクリックして {title} コネクタをインストールしてください。
        </li>
        <li><strong>接続を追加</strong>ダイアログボックスに接続名を入力します。</li>
        <li><strong>追加</strong>をクリックして、コネクタの<strong>設定</strong>タブを開きます。</li>
      </ol>
      <p>
        新しいコネクタのインストールについての詳細は、{' '}
        <a href="../connections">接続</a>を参照してください。
      </p>
    </>;
};

export const CommonDatasourceIntroSource = ({datasource = "the data source", siteName = "CData Sync"}) => {
  return <p>
      {siteName} アプリケーションから{datasource} コネクタを使用して、{datasource} からデータを取得してサポートされている任意の同期先に移動できます。これを行うには、コネクタを追加し、コネクタへの認証を行い、接続を完了する必要があります。
    </p>;
};

export const driverVersion = "M";

export const siteNameShort = "Sync";

export const siteName = "CData Sync";

export const datasource = "Informix";
export const pageTitle = "Informix (Native)";
export const advancedurl = "JI";

<CommonDatasourceIntroSource datasource={datasource} siteName={siteName} />

<Note>This connector is available in {siteNameShort} Self-Hosted deployments only.</Note>

## Prerequisites

Before you add your {datasource} connector, you need to download the JDBC driver and the CDC API as well as to set up Informix to use the {siteName} application's change data capture (CDC) capability.

### Download the Native JDBC Driver and the CDC API

Install the native IBM {datasource} JDBC driver and the CDC API, as follows:

1. Download the {datasource} driver and the API from the links below and copy them into `InstallationDirectory/lib`:

   * {datasource} JDBC driver: [https://repo1.maven.org/maven2/com/ibm/informix/jdbc/4.50.11/jdbc-4.50.11.jar](https://repo1.maven.org/maven2/com/ibm/informix/jdbc/4.50.11/jdbc-4.50.11.jar).
   * {datasource} CDC API: [https://repo1.maven.org/maven2/com/ibm/informix/ifx-changestream-client/1.1.3/ifx-changestream-client-1.1.3.jar](https://repo1.maven.org/maven2/com/ibm/informix/ifx-changestream-client/1.1.3/ifx-changestream-client-1.1.3.jar)

   <Note>Because the JAR files are located in `InstallationDirectory`, you need to put these files on every machine that you use for a cluster environment.</Note>

## Set Up Informix for CDC

Perform the following steps to enable the Change Data Capture API in {datasource}:

1. Run the following script as the **Informix** user from the `$INFORMIXDIR/etc` directory:

   `syscdcv1.sql`

2. Verify that the syscdcv1 database exists by creating a connection to it as the user **Informix**.

3. Set the DB\_LOCALE environment variable (on your {siteNameShort} machine) to match the locale of the database from which you are capturing data.

<Note>The INTERVAL type is not supported by {datasource} Change Stream client in the CDC API.</Note>

For details about the CDC Engine, see [Using the {siteNameShort} CDC Engine](../../jobs/change-data-capture#using-the-sync-cdc-engine).

## Informix コネクタを追加

<CommonDatasourceAddConnector datasource={datasource} title={pageTitle} destination={false} siteNameShort={siteNameShort} />

## Informix への認証

After you add the connector, you need to set the required properties.

* **Host:** Enter your IBM {datasource} host name.
* **Port:** Enter the port number that connects to the server that hosts your {datasource} database. The default port value is **1526**.
* **Database:** Enter the name of your {datasource} database.
* **User:** Enter the username that you use to authenticate to your {datasource} database.
* **Password:** Enter the password that you use to authenticate to your {datasource} database.

## 接続を完了する

To complete your connection:

1. Define advanced connection settings on the **Advanced** tab. (In most cases, though, you should not need these settings.)
2. Click **Create & Test** to create your connection.
