在 Windows 中设置 Amazon DocumentDB ODBC 驱动程序 - Amazon DocumentDB
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

在 Windows 中设置 Amazon DocumentDB ODBC 驱动程序

使用以下步骤在 Windows 中设置 Amazon DocumentDB ODBC 驱动程序:

  1. 在 Windows 中打开控制面板并搜索“ODBC”(或在菜单中选择Windows 工具>ODBC 数据来源(32 位)ODBC 数据来源(64 位)):

    Windows Control Panel showing ODBC data source setup options for 32-bit and 64-bit systems.
  2. 选择适当的 ODBC 驱动程序数据来源管理器:如果已安装 32 位版本,请选择 32 位版本,否则,请选择 64 位版本。

  3. 选择系统 DSN 选项卡,然后单击添加...添加新的 DSN:

    ODBC Data Source Administrator window showing empty System Data Sources list and options.
  4. 从数据来源驱动程序列表中选择 Amazon DocumentDB

    Dialog box for creating a new data source, showing a list of database drivers to select from.
  5. 配置 Amazon DocumentDB DSN对话框中,完成配置设置TLS选项卡和测试连接字段,然后单击保存

    Configuration dialog for Amazon DocumentDB DSN with connection settings and TLS options.
  6. 确保您准确填写了 Windows 表单,因为连接详细信息会因您选择的连接 EC2 实例的 SSH 隧道方法而异。此处查看 SSH 隧道方法。有关每个属性的详细信息,请参阅连接字符串语法和选项

    Configuration window for Amazon DocumentDB DSN with connection settings and SSH tunnel options.

有关在 Windows 上配置 Amazon DocumentDB ODBC 驱动程序的更多信息,请单击此处。