Spring boot试用MySQL数据库,应用启动时报如下警告:
WARN: 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.
原因是当前版本的MySQL要求使用SSL,解决方法是在数据库连接字串里加上useSSL=true即可。
转载:https://blog.csdn.net/fanpeizhong/article/details/79737144
查看评论