龙岩易富通网络科技有限公司

龙岩小程序开发,龙岩分销系统

MySQL Workbench 连接数据库提示SSL connection error: SSL is required but the server doesn't support it

2022.07.22 | 1407阅读 | 0条评论 | 数据库

mysql下载器下载了mysql worbench后无法连接远端数据库,提示SSL之类的错误


 

 

解决方案一:不使用SSL,在Advance TAB页的others框中输入参数:useSSL=0,就可以连接上了。

 

 

 

有时候本地连接可以,但远程连接不行,并且报错:Host is not allowed to connect to this MySQL server。那一般是没有允许远程登录来的,解决办法也很简单:



//先进入mysqluse mysql

//允许root用户从所有IP远程访问

update user set host = '%' where user = 'root';

//刷新

flush privileges;


解决方案二:

my.cnf文件文件中的 [mysqld] 段添加 skip-ssl 表示跳过ssl

赞 (

发表评论