on 12-19-2013 6:47 AM
Dear Experts ,
I am trying to create a database connection from MII 14.0 to SQL server 2012
JDBC drivers are uploaded fine , when creating a connection, following error occured in logs
Unable to get a connection from the pool
[EXCEPTION]
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 172.25.1.6, port 1433 has failed. Error: "Connection refused: connect. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
I checked that firewall is off
Following are the settings done in MII
JDBC Driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
Server URL : dbc:sqlserver://localhost:1433;databaseName=test
Has anyone faced this king of issue earlier
Any help would be highly appreciated
Regards,
Eswar
Try giving full IP address and check.
Server URL: jdbc:sqlserver://172.25.1.6:1433;databaseName=test
Are you able to connect from MS SQL Server Management Studio?
Can you perform any validation query?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you try below steps
Also check telnet 172.25.1.6 1433 works fine.
Hi Eswar,
As per your error log, database is refused to connect. my suggestion
1. Cross check the user credentials, which should be same as MSSQL DB login credentials in Data services (i.e. User name & passwrd Parameters)
2. And as per screenshot,
In the server URL you have mentioned localhost. better try with server IP address with port. And check from MSSQL side, Client protocols all are enabled.
Regards,
Praveen Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.