SAP HANA Connector

SAP HANA Connector

Appending HANA driver details to odbcinst.ini file in Linux

Appending HANA driver details to odbcinst.ini file in Linux

After you install the Secure Agent, install the 64-bit HANA ODBC driver. SAP HANA Connector uses ODBC during run time. Hence, you require the
odbcinst.ini
file in Linux. Append the HANA driver details to the
odbcinst.ini
file.
The
odbcinst.ini
file is available at the location of the Secure Agent installer. Append the following HANA driver details to the
odbcinst.ini
file in Linux to connect to the HANA database as shown in the example below:
[HDBODBC] Driver=/usr/sap/hdbclient/libodbcHDB.so Description=HANA Driver Setup=/usr/sap/hdbclient/libodbcHDB.so CPTimeout=0
In the example, the following path is the location for the driver installation:
/usr/sap/hdbclient/
The
odbc.ini
and
odbcinst.ini
files must be in the same location.