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服务即可