【数据库连接失败】IDEA中数据库连接报错 [08S01] Communications link failure...the server was 0 milliseconds ago解决方案
使用cmd连接远程Linux服务器的时候提示
ERROR 2026 (HY000): SSL connection error: error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol
这是因为连接的时候没有关闭SSL
使用这个命令即可
mysql -h主机名 -P3306 -u账号 -p --ssl-mode=DISABLED
如果是在IDEA中的话 在Advanced中 找到useSSL 把其设为 false即可
然后就能连接上啦!!!