on 12-05-2012 12:23 PM
I installed HDBODBC32 driver and connected to HANA DB using a DSN, then by using the DSN in my pyhton code i was able to access the DB
However when i tried to give the connection information in the connections string itself without DSN im getting the below error
Error: ('08S01', "[08S01] [SAP AG][LIBODBCHDB32 DLL][HDB] Communication link failure;-10709 Connection failed (RTE:[89006] System call 'connect' failed, rc=10061:No connection could be made be (-10709) (SQLDriverConnectW)")
Below is my code
pyodbc.connect('DRIVER={%s};SERVER =%s;DATABASE=%s;UID=%s;PWD=%s'%(driver,server,database,userid,pswd))
Where the driver is "HDBODBC32"
server is server ="xxxx:3xx15"
DATABASE = "HDB"
Could anyone help me on this....
Hi Vinoth,
I am not a python developer, but could it be the ServerNode?
Check the connection string in this post.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Michael ,
It works fine now after changing it to ServerNode...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.