Skip to Content
Jun 21 at 09:23 AM

Using python to access SAP HANA database with Single Sign On



I have been connecting to the SAP Hana database in python using pyhdb library in python using this format:
pyhdb.connect( host="", port="", user="", password="" ) and it was working great.

Recently things have changed and now I will need to be able to access a database through single sign on and windows log in credentials. I have tried several things with 2 other libraries pyodbc and dbapi. If there is something I am missing or if any one has any idea of another way to access the DB would be very helpful.

Thank you so much in advance!