DBeaver无法连接SQL Server

这里写自定义目录标题

DBeaver无法连接SQL Server

问题

装了新版DBeaver后,连接SQL Server的时候报如下错误:

“The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]

原因

JDK不推荐使用旧的 TLS1.0 的协议,所以默认删除TLS10的支持。

解决办法

修改“dbeaver/jre/conf/security/java.security”文件(如果是MacOS,文件路径是:/Applications/DBeaver.app/Contents/Eclipse/jre/Contents/Home/conf/security/java.security)

将其中 “jdk.tls.disabledAlgorithms” 配置项中的 TLSv1, TLSV1.1, 3DES_EDE_CBC 删除,然后重新启动DBeaver。

猜你喜欢

转载自blog.csdn.net/kongxx/article/details/120794240