前端时间在阿里云上安装Mysql 版本是5.7,安装完成程序连接数据库一直连不上具体错误为:
Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the

在阿里云上安装的MySQL 5.7版本遇到连接问题,由于默认要求SSL安全连接导致无法正常连接。解决方法是在JDBC URL中添加ssl参数,并通过设置&verifyServerCertificate=false来避免证书验证,从而实现数据库连接。
最低0.47元/天 解锁文章
2598

被折叠的 条评论
为什么被折叠?



