WARN: Establishing SSL connection without server's identity verification is not recommended.

来源:互联网 发布:java获取文件修改时间 编辑:程序博客网 时间:2024/04/19 10:22

红色警告: 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.

解决办法:

Add “?autoReconnect=true&useSSL=false” to your connection URL string .

This will disable SSL and also suppress the SSL errors.

0 0