cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting to maxdb (on cloud) via squirrel client

former_member231062
Discoverer
0 Kudos

Can anyone please let me know how to create a connection with Max-Db (on HCP)

I have followed the below process:

a) Create a db tunnel using neo-tools

neo open-db-tunnel -i <schemaid> -a <a/c name> -h neo.ondemand.com -u <user>

b) I get the URL, user name and password.

When i am trying to connect, i get the below error:

com.sap.dbtech.jdbc.exceptions.DatabaseException: [-4008]: Unknown user name/password combination

  at com.sap.dbtech.jdbc.packet.ReplyPacket.createException(ReplyPacket.java:69)

  at com.sap.dbtech.jdbc.ConnectionSapDB.throwSQLError(ConnectionSapDB.java:768)

  at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:434)

  at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:325)

  at com.sap.dbtech.jdbc.ConnectionSapDB.doConnect(ConnectionSapDB.java:277)

  at com.sap.dbtech.jdbc.ConnectionSapDB.<init>(ConnectionSapDB.java:81)

  at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:184)

  at java.sql.DriverManager.getConnection(Unknown Source)

  at java.sql.DriverManager.getConnection(Unknown Source)

I am using the below driver:

com.sap.dbtech.jdbc.DriverSapDB

Can anyone help?

Accepted Solutions (0)

Answers (1)

Answers (1)

JamesZ
Advisor
Advisor
0 Kudos

Hi,

It seems you are using external tool to connect database.

Please at least to verify the username and password you input is correct, you can test below:

log on maxdb server
dbmcli -d <dbsid> -u <username>,<password> db_state

Best regards,
James