Wong's Blog

Always on the way forward
  1. 首页
  2. Macos
  3. 正文

SQL Studio for Mac 连接数据库报错

2023 年 6 月 29 日 116点热度 0条评论

国产数据库管理软件SQL Studio for Mac连接SQL Server数据库报错:

驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“The server selected protocol version TLS10 is not accepted by client preferences [TLS12]”

这个问题其实最主要还得看后面那一句话【The server selected protocol version TLS10 is not accepted by client preferences [TLS12]】,意思是数据库服务端的协议版本是TLS10,而客户端协议版本是TLS12。

只需要在你的设备上找到jdk的安装目录下的java.security改改安全协议的配置即可。

SQL Studio for Mac 路径:

/Applications/sqlstudio.app/Contents/Resources/app/sqlstudio/openjdk-1.8.0_292_jre/lib/security/java.security

删掉这两个:TLSv1、TLSv1.1。

退出SQL Studio,重新打开即可。

标签: 暂无
最后更新:2023 年 6 月 29 日

wong

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复
  • Linux / 6篇
  • Macos / 7篇
  • Windows / 9篇
  • 其他 / 9篇

在路上 | 2024