DBAPI配置sql server2008R2报错:selected protocol TLS10 is not accepted by client preferences [TLS12]
DBAPI配置sql server2008R2的时候报错了,提示:
请问怎么解决?
The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "The server selected protocol version TLS10 is not accepted by client preferences [TLS12]".
请问怎么解决?
发布于:2年前 (2023-03-24) IP属地:四川省
1 个回答
这是由于sql server的驱动问题,这里把JDBC驱动class设置为:
jdbcurl设置为:
示例如下图:

com.microsoft.sqlserver.jdbc.SQLServerDriver
jdbcurl设置为:
jdbc:sqlserver://${ip}:${port};databaseName=${databasename}
示例如下图:

发布于:2年前 (2023-03-24) IP属地:四川省
我来回答
您需要 登录 后回答此问题!