MySQL版本问题怎么解决

这篇文章主要介绍“MySQL版本问题怎么解决”,在日常操作中,相信很多人在MySQL版本问题怎么解决问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”MySQL版本问题怎么解决”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

Wed Sep 09 16:15:47 CST 2020 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. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

解决方法:在连接mysql的url中加上useSSL=false

jdbc:mysql://127.0.0.1:3306/database?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false

到此,关于“MySQL版本问题怎么解决”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注网站,小编会继续努力为大家带来更多实用的文章!