当链接Mysql数据库时提示:MYSQL:WARN: Establishing SSL connection without server’s identity verification is not recommended.
只需要
jdbc:mysql://localhost:3306/"+dataBaseName+"?useUnicode=true
&characterEncoding=utf8",username,password
只需要将useUnicode=true
替换成useSSL=false
如下:
jdbc:mysql://localhost:3306/"+dataBaseName+"?useSSL=false&characterEncoding=utf8",username,password
当链接Mysql数据库时提示:MYSQL:WARN: Establishing SSL connection without server's identity verification is not
最新推荐文章于 2020-08-13 11:32:24 发布