Not Able to connect JDBC: SQL Server Database
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2017
10:17 PM
10-31-2017
10:17 PM
Not Able to connect JDBC: SQL Server Database
While Connecting sql server database getting below ERROR -
Can't get the Connection for specified properties; com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open server "IN-QA16" requested by the login. The login failed..
I am Using below Information-
Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
Connection String: jdbc:sqlserver://HOST;databaseName=QA123;user=QAtest;password=QApassword
NOTE - I am not using PORT No.
If any correction required in Connection String Please do correct and update same in comments.
Please give me solution ASAP.
Thanks
Kumar Prakash
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2017
03:01 AM
11-03-2017
03:01 AM
Hi Kumar,
Please check this article: Establishing connection to Microsoft SQL Server
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2017
08:23 AM
