mysql workbench报错ssl is required but the server doesn't support it

转载请标明出处: mysql workbench报错ssl is required but the server doesn't support it

原文地址: https://www.cnblogs.com/xiaoliangyuu/p/15527059.html(小亮yuu)

问题描述:

1、点击TestConnection 报错:

mysql workbench报错ssl is required but the server doesn't support it

 

2、保存后直接连接报错如下:

mysql workbench报错ssl is required but the server doesn't support it

 

3、使用navicat可以连接成功

4、使用mysql命令行连接报错  
ERROR 1045 (28000): Access denied for user 'xx'@'xxx.xxx.xxx.xxx:52594' (using password: Yes)
yl@LAPTOP-TQLOQ2A3:~$

问题解决

1、观察发现 navicat 没有使用 SSL,如图: 原文地址: https://www.cnblogs.com/xiaoliangyuu/p/15527059.html(小亮yuu) mysql workbench报错ssl is required but the server doesn't support it

 

2、而 mysql workbench 有使用SSL,且没有不使用SSL的相关选项,如图:

mysql workbench报错ssl is required but the server doesn't support it

 

3、查询资料可知,我的mysql workbench版本是8.0.27,移除了相关选项,卸载重新安装8.0.26,可看到有相关选项了(no和 if available),如图: mysql workbench报错ssl is required but the server doesn't support it

 

4、修改为no或者if available,报错: Access denied for user 'xx'@'xxx.xxx.xxx.xxx:55839' (using password: Yes) 5、卸载8.0.26版本,重装更老的版本,我这里是 6.3.7(下载地址),连接成功!

 

参考:  mysql workbench: ssl is required but the server doesn't support it  

 原文地址: https://www.cnblogs.com/xiaoliangyuu/p/15527059.html(小亮yuu)

上一篇:Exception encountered during context initialization - cancelling refresh attempt: org.springframewor


下一篇:QEMU 6.1.0 发布