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

时间:2018-06-17 16:38:45   收藏:0   阅读:260

由于mysql版本过高创建连接的时候会出现如下报告

解决办法:在mysql连接上加上&useSSL=true

如下:jdbc:mysql:///:3366:test?useUnicode=true&characterEncoding=utf-8&useSSL=true

ssl是一种加密技术在客户端连接数据库的中间做了加密,TCP/IP层中。

原文:https://www.cnblogs.com/chenlove/p/9193049.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!