Intellij 的想法。javax.net.ssl.SSLHandshakeException:没有适当的协议(协议已禁用或密码套件不合适)

And*_*w.G 9 database-connection intellij-idea sslhandshakeexception

IntelliJ idea更新后,我在尝试连接数据库时遇到异常。

javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate).
Run Code Online (Sandbox Code Playgroud)

And*_*w.G 20

解决方案很简单。

\n

数据库选项卡 \xe2\x86\x92 数据源属性

\n

在此输入图像描述

\n

\xe2\x86\x92 选择数据库 \xe2\x86\x92 高级 \xe2\x86\x92 已启用TLS协议设置 TLSv1.2。\n在此输入图像描述

\n