The SAP HANA client install can also be 32 or 64 bit. This can be seen under File | Account | About Excel. Note that Microsoft Excel can be 32 or 64 bit. One example on Windows is Microsoft Excel. SELECT * FROM HOTEL.CUSTOMERĪn application that supports ODBC can now make use of the created data source. Once you see a message that indicates a connection has been made, enter the following statement to verify this. UnixODBC provides a basic SQL query tool called isql that can be used to validate a data source. Servernode = .com:443ĭriver = /home/dan/sap/hdbclient/libodbcHDB.so Note that the driver’s file extension is dylib instead of so on a Mac. Be sure to configure the values of servernode and driver so that they conform with your setup. odbc.ini file (or create it if it does not exist) to add one or more data sources. Navigate to a directory, similar to the first one that is highlighted in the screenshot above. odbc.ini file (if it exists), and to confirm the location of the SAP HANA client install that contains the ODBC driver. The following commands can be used to confirm that unixODBC is installed, determine the location of the. On a Mac, unixODBC can be installed using Homebrew.
On SUSE Linux, the YaST installer can be used to install unixODBC.įor more details on how to accomplish this, please follow the second step of this tutorial. The following instructions demonstrate how unixODBC can be used to configure and test a data source on Linux or Mac. Note that the saved values can also be viewed using the Microsoft Windows registry editor under the key Computer\HKEY_CURRENT_USER\Software\ODBC\ODBC.INI.įor additional details see Connect to SAP HANA via ODBC. The user name USER1 and password Password1 can be entered when prompted for credentials. For more information on this topic, see How to Configure TLS/SSL in SAP HANA 2.0. To connect to SAP HANA, express edition, Multitenant should be checked and the Validate TLS/SSL certificate option can be unchecked. The SAP HANA ODBC driver (HDBODBC) is visible.Ĭlick the User DSN tab to view the data sources.Ĭlick Add to create a new data source to connect to a SAP HANA database.Įxample data source configuration for SAP HANA Cloud.Įxample data source configuration for SAP HANA, express edition. Open the administrator by entering ODBC after clicking on the Microsoft Windows start icon.Įnsure that you choose the 64-bit version assuming that you have the 64-bit version of the SAP HANA client installed.Ĭlick the Drivers tab and view the installed drivers. The ODBC Data Source Administrator lists the installed ODBC drivers and the configured data sources.