ODBC Driver for SAP HANA

Build 22.0.8462

Windows DSN Configuration

Using the Microsoft ODBC Data Source Administrator

You can use the Microsoft ODBC Data Source Administrator to edit the DSN configuration. Note that the DSN is created during the installation process.

Complete the following steps to edit the DSN configuration:

  1. Select Start > Search, and enter ODBC Data Sources in the Search box.
  2. Choose the version of the ODBC Administrator that corresponds to the bitness of your application (32-bit or 64-bit).
  3. Click the System DSN tab.
  4. Select the system data source and click Configure.
  5. Edit the information on the Connection tab and click OK.

Note: For .NET Framework 4.0, the driver distributes Microsoft Visual C++ 2015-2022 Redistributable. For .NET Framework 3.5, the driver distributes Microsoft Visual C++ 2008 Redistributable.

Connecting to SAP HANA Cloud

Set the following to connect to data:
  • Server: Set this property to the name or network address of the SAP HANA database instance.
  • Port: Set this to 443.
  • UseSSL: Set this to True.

Connecting to SAP HANA On-Prem

Set the following to connect to data:

  • Server: Set this property to the name or network address of the SAP HANA database instance.
  • Port: The port of the server hosting the SAP HANA database.

Authenticating to SAP HANA

Once you have provided the connection details, set the following database credentials to authenticate to SAP HANA:

  • User: The username provided for authentication with the SAP HANA database.
  • Password: The password provided for authentication with the SAP HANA database.

Okta

Set the AuthScheme to Okta. The following connection properties are used to connect to Okta:

  • User: Set this to the Okta user.
  • Password: Set this to Okta password for the user.
  • SSOProperties (optional): Set this to the OTP code that was sent to your device. This property should be used only when MFA is required for OKTA sign on.

The following SSOProperties are needed to authenticate to Okta:

  • SSOLoginUrl: Set this to the OKTA's login URL.
  • MFAType (optional): Set this to the multi-factor type. This property should be used only when MFA is required for OKTA sign on. This property accepts one of the following values:
    • OKTAVerify
    • Email
    • SMS
  • APIToken (optional): Set this to the API Token that the customer created from the Okta org. It should be used when authenticating a user via a trusted application or proxy that overrides OKTA client request context.

The following is an example connection string:

AuthScheme=OKTA;User=username;Password=password;Server=myserver;SSO Properties='SSOLoginUrl=https://cdata-okta.okta.com';

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462