I am trying to connect to the database on katalon-windows , and this what I have done :
for JDBC 9.2:
- downloaded JDBC from here Download - JDBC Driver for SQL Server | Microsoft Docs
- Extracted the file into C:\Program Files\Microsoft JDBC DRIVER 9.2 for SQL Server
- Added the following lines to .classpath on my katalon project :
screenshot: _classpath - Notepad 2021-0...
CLASSPATH =.;C:\Program Files\Microsoft JDBC DRIVER 9.2 for SQL Server\sqljdbc_9.2\enu\mssql-jdbc-9.2.1.jre11.jar
CLASSPATH =.;C:\Program Files\Microsoft JDBC DRIVER 9.2 for SQL Server\sqljdbc_9.2\enu\mssql-jdbc-9.2.1.jre8.jar
CLASSPATH =.;C:\Program Files\Microsoft JDBC DRIVER 9.2 for SQL Server\sqljdbc_9.2\enu\mssql-jdbc-9.2.1.jre15.jar - On Library management on settings on katalon I added theses jars there too
screenshot : Project Settings 2021-04-20...
For the database connection :
- on project settings - on database , added the following :
JDBC driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
Connection URL : jdbc:sqlserver://;databaseName=
besides that my username & password
Result :
Connection Failed , cannot open the server XYZ requested by login
Please let me know what I have done wrong & what I have missed
thank you