- 项目场景
- 问题描述
- 解决方案
- 测试连接
Idea使用DateSource插件连接SqlServer数据库报错
问题描述
[08S01] 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]”。 ClientConnectionId:da918ed5-2615-4bbb-a54b-c184ada18897
The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12].
解决方案
1.修改idea根目录java.security文件
xxxideaIU-2021.3.winjbrconf<


![[08S01] 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“The server selected protocol version TLS10 is [08S01] 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“The server selected protocol version TLS10 is](http://www.mshxw.com/aiimages/31/1014019.png)
