cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi Experts,

I am trying to connect a SCP HANA DB which is neo environment from Python. I am using 'Python any where' platform to code.

Python code -

from hdbcli import dbapi


connection = dbapi.connect(host='vsXXXXXXX.pXX.oX.sap.bXz',
                           port=30013,
                           user='DBUSER',
                           password='PASSWORD'
                           )


print(connection.isconnected())

The response from python anywhere is -

Traceback (most recent call last): File "/home/LEONARDOMFG/connectHDB.py", line 13, in <module>password='PASSWORD'hdbcli.dbapi.Error: (-10719, "Connect failed (invalid SERVERNODE ':30052')")

Please help me out on what else is required?

0 Likes
View Entire Topic
dvankempen
Product and Topic Expert
Product and Topic Expert