Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: Connect to HANA with unixODBC fails

$
0
0


Hi All ,

 

I have AIX 6.1 server . I have installed HANA client and unixODBC.

 

hdbsql works

./hdbsql -n 19.151.89.122:30015  -u USERNAME -p PASSWORD

Welcome to the SAP HANA Database interactive terminal.

Type:  \h for help with commands
       \q to quit

hdbsql HA1=>

 

But i cannot make isql to work

 

odbcinst -j

unixODBC 2.3.2

DRIVERS............: /etc/odbcinst.ini

SYSTEM DATA SOURCES: /etc/odbc.ini

FILE DATA SOURCES..: /etc/ODBCDataSources

USER DATA SOURCES..: /etc/odbc.ini

SQLULEN Size.......: 4

SQLLEN Size........: 4

SQLSETPOSIROW Size.: 2

 

cat /etc/odbc.ini

[HANA_TEST]

Driver=/usr/sap/hdbclient/libodbcHDB.so

ServerNode=19.151.89.122:30015

 

odbcinst HANA -q -s

[HANA_TEST]

 

odbcinst HANA -q -d

odbcinst: SQLGetPrivateProfileString failed with .

 

isql -v HANA_TEST USERNAME PASSWORD

[01000][unixODBC][Driver Manager]Can't open lib '/usr/sap/hdbclient/libodbcHDB.so' : file not found

[ISQL]ERROR: Could not SQLConnect

 

ls -ltr /usr/sap/hdbclient/libodbcHDB.so

-r-xr-xr-x    1 root     system     62742158 Dec 15 16:22 /usr/sap/hdbclient/libodbcHDB.so

 

Can any one help me how to fix this . I have followed the you tutorial but still it dnt work .

 

Please let me know if you need any more info.

 

Thanks in advance .


Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>