Downloading the JDBC or ODBC Driver Package

Scenario

To connect to DLI using JDBC or ODBC, download the specific driver file on the DLI management console.

Procedure

  1. Log in to the DLI management console.
  2. Click SDK Download in the Common Links area on the right of the Overview page.
  3. On the DLI SDK DOWNLOAD page, select a driver and download it.

    • JDBC driver package

      For example, click huaweicloud-dli-jdbc-1.1.2 to download the JDBC driver package of version 1.1.2.

      The JDBC driver package is named huaweicloud-dli-jdbc-<version>.zip. It can be used in all versions of all platforms (such as Linux and Windows) and depends on JDK 1.7 or later versions.

      If Maven is used, add the following Maven configuration items on which huaweicloud-dli-jdbc depends:
      1
      2
      3
      4
      5
       <dependency>
          <groupId>com.huawei.dli</groupId>
          <artifactId>huaweicloud-dli-jdbc</artifactId>
          <version>x.x.x</version>
       </dependency>
      

      For details about how to configure the Huawei Maven image source, visit Huawei Open Source Image Site, select Huawei SDK, and click HuaweiCloud SDK.

    • ODBC driver package

      For example, click huaweicloud-dli-odbc-1.1.2 to download the ODBC driver package of version 1.1.2.

      The ODBC driver package is named huaweicloud-dli-odbc-<version>.zip. Currently, the ODBC driver package can be used only in Windows 2012 or later versions.