admin管理员组

文章数量:1530012

文章目录

      • 一、问题
      • 二、解决

一、问题

idea中配置MySQL数据库连接的时候如下问题

Failed
[08S01] 
Communications link failure  

The last packet successfully received from the server was 137 milliseconds ago. The last packet sent successfully to the server was 126 milliseconds ago. javax.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate).

二、解决

URL连接中添加配置 useSSL=false 即可

ex:

jdbc:mysql://127.0.0.1:3306/demo?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&useSSL=false


今日分享语句:
你要明白,世上最牢靠的肩膀与双手,长在你自己身上,越努力越幸运!

本文标签: 连接数据库IDEAErrorjavaxSSLHandshakeException