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
由于mysql版本过高创建连接的时候会出现如下报告
解决办法:在mysql连接上加上&useSSL=true
如下:jdbc:mysql:///:3366:test?useUnicode=true&characterEncoding=utf-8&useSSL=true
ssl是一种加密技术在客户端连接数据库的中间做了加密,TCP/IP层中。
耐得住寂寞,才能登得顶
Gitee码云:https://gitee.com/lyc96/projects