on 2024 Nov 14 2:21 PM
Hi Experts,
While connecting to the on-premise MYSQL server from the CPI we are facing the below error.
Even though i have completed all the prerequisites:
1. Configured the cloud connector setup under the TCP protocol and the status is reachable.
2. Deployed the required sql drivers.
3. Configured the JDBC data source
Error:
"org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1112 has failed. Error: "The driver received an unexpected pre-login response. Verify the connection properties and check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. This driver can be used only with SQL Server 2005 or later.". ClientConnectionId:130a9bdc-ccd1-4420-8277-51b57c4249a7, cause: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1112 has failed. Error: "The driver received an unexpected pre-login response. Verify the connection properties and check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. This driver can be used only with SQL Server 2005 or later.". ClientConnectionId:130a9bdc-ccd1-4420-8277-51b57c4249a7"
Please help to resolve the issue.
Thanks,
Naveen
Request clarification before answering.
MS SQL is not the same as MySQL, and there is not an available MySQL driver in CPI.
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naveen,
I’m encountering the same error when trying to connect to the on-premise database from the IS. Could you please share the resolution steps if you’ve found any solutions?
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 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.