这是什么问题!

来源:1-11 通过Hibernate API编写访问数据库的代码

随风lief

2016-12-10 22:20

Sat Dec 10 22:16:09 CST 2016 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.


写回答 关注

1回答

  • 哈你
    2016-12-11 08:34:15

    是显式指定数据库密码的缘故


Hibernate初探之单表映射

Java持久化框架Hibernate入门教程,掌握Hibernate基本概念

74810 学习 · 793 问题

查看课程

相似问题