cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

hdbcli seems to have a syntax error during connection

dougliu
Product and Topic Expert
Product and Topic Expert
0 Likes
635

When trying to connect to HANA DB instance by using python lib 'hdbcli', there seems an mistake within the lib:

When passing parameter 'username' which is also provided explictly in the method 'connect(...)':

dougliu_2-1725251021642.png

I find the solutions here: https://stackoverflow.com/q/77315479/17094981 

then there will be an error raised:

dougliu_1-1725250979189.png

However if I use 'user' there, everything goes well:

dougliu_0-1725250833414.png

SAP HANA Cloud Python 

Accepted Solutions (1)

Accepted Solutions (1)

Vitaliy-R
Developer Advocate
Developer Advocate

Kerberos is used when only the username is specified:

https://help.sap.com/docs/SAP_HANA_CLIENT/f1b440ded6144a54ada97ff95dac7adf/b250e7fef8614ea0a0973d58e... 

Is that what does not work for you? 

Answers (0)