

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# Windows での Amazon DocumentDB ODBC ドライバーのセットアップ
<a name="connect-odbc-setup-windows"></a>

以下の手順を使用して、Windows で Amazon DocumentDB ODBC ドライバーを設定します。

1. Windows で **[コントロールパネル]** を開き、ODBC を検索します (またはメニューで **[Windows ツール]** > **[ODBC データソース (32 ビット)]** または **[ODBC データソース (64 ビット)]** を選択)。  
![ODBC 32 ビットおよび 64 ビットのデータソースのセットアップリンクを示す Windows コントロールパネルインターフェイス。](http://docs.aws.amazon.com/ja_jp/documentdb/latest/developerguide/images/odbc-control-panel-1.png)

1. 適切な ODBC ドライバデータソース管理者を選択します。インストールされていれば 32 ビットバージョンを、インストールされていない場合は 64 ビットバージョンを選択します。

1. [システム DSN] タブを選択し、**[追加...]** をクリックして新しいDSNを追加します。  
![[追加] ボタンを示す [ODBC データソース管理者] インターフェイス。](http://docs.aws.amazon.com/ja_jp/documentdb/latest/developerguide/images/odbc-add-dsn-1.png)

1. データソースドライバーリストから **[Amazon DocumentDB]** を選択します。  
![Amazon DocumentDB ドライバーオプションが選択された [新しいデータソースの作成] インターフェイス。](http://docs.aws.amazon.com/ja_jp/documentdb/latest/developerguide/images/create-data-source-1.png)

1. **[Amazon DocumentDB DSN の設定]** ダイアログで、**[接続の設定]**、**[TLS]** タブ、**[接続テスト]** の各フィールドに入力し、**[保存]** をクリックします。  
![[接続の設定]、[TLS]、および [接続テスト] フィールドがある [Amazon DocumentDB DSN の設定] インターフェイス。[保存] ボタンは下部にあります。](http://docs.aws.amazon.com/ja_jp/documentdb/latest/developerguide/images/config-docdb-dsn-1.png)

1. 選択した EC2 インスタンスへの SSH トンネリング方法によって接続の詳細が異なるため、Windows フォームには正確に記入してください。SSH トンネリング方法については[こちら](https://github.com/aws/amazon-documentdb-odbc-driver/blob/develop/src/markdown/setup/setup.md#using-an-ssh-tunnel-to-connect-to-amazon-documentdb)を参照してください。各プロパティの詳細については、「[接続文字列の構文とオプション](https://github.com/aws/amazon-documentdb-odbc-driver/blob/develop/src/markdown/setup/connection-string.md)」を参照してください。  
![[SSH トンネル] フィールドが完了した [Amazon DocumentDB DSN の設定] インターフェイス。](http://docs.aws.amazon.com/ja_jp/documentdb/latest/developerguide/images/config-docdb-dsn-ssh-1.png)

Windows での Amazon DocumentDB ODBC ドライバーの設定の詳細については、[こちら](https://github.com/aws/amazon-documentdb-odbc-driver/blob/develop/src/markdown/setup/windows-dsn-configuration.md)を参照してください。