Reputation: 120
What will be the connection string that can be used in EXCEL VBA to connect to multi-tenant HANA database ? Currently I am using the string mentioned below but getting 10709 error
:-
connectionstring = "Driver=HDBODBC;SERVERNODE=10.20.30.40:30015; DATABASENAME=ABCDE;CS=DBO"
Upvotes: 2
Views: 4425
Reputation: 10396
To connect to the tenant you're interested in, you need to provide the correct port number. E.g. 30045 if the overall instance no. is 00.
The whole port assignment scheme is explained in detail in the "SAP HANA Multitenant Database Containers Operations Guide" chapter 2.9 Connections for Multitenant Database Containers
Upvotes: 3