mysql连接失败,报错error msg:Failed to start connection pool – SSL connection error: protocol version mismatch

我的是mysql8.0版本,mysql8.0默认开启了ssl认证模式,修改mysql配置文件
1、找到mysql的配置文件my.cnf

#自行确定mysql的配置文件是不是在这个路径下
vi /etc/my.cnf

2、在[mysqld]这行下面加上skip_ssl即可
在这里插入图片描述
按下esc,输入:wq保存退出

3、重启mysql服务即可

Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐