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?