Hi all,
I’m having a problem with a connection to a (external) SQL Server database. I already have a connection that works OK. Now, I’m trying to create a connection to a second DB and keep getting an error message when checking it with ADBC_TEST_CONNECTION. Both connections work ok using an external program (SQUIRREL, using JDBC drivers).
The string I’m using is as follows:
MSSQL_SERVER=xx.xx.xx.xx MSSQL_DBNAME=DBNAME1
When I change the IP and DB Name and try to connect to the new Server I get:
Could not open connection DBNAME2
sql error22occured:
Client unable to establish connection
There are two things to of interest here. The first, that there is no port number for DBNAME1 (which works correctly). Also, for this DB the password consists entirely of numbers, and it does not seem to be encrypted when you check DBCON with SE16n.
So I tried to add the port number to the IP (:1433), and still got an error when trying to connect.
Any ideas?
Thanks beforehand and stay safe,
Regards,
Luis
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Luis
Could you refer the blog about the external db connection using jdbc driver
https://wiki.scn.sap.com/wiki/display/SAPSQL/Database+Connection+and+DBSL
Regards
SS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.