小言_互联网的博客

MySQL Establishing SSL connection without server's identity verification warning

617人阅读  评论(0)

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
查看评论
* 以上用户言论只代表其个人观点,不代表本网站的观点或立场