在使用mysql-java-5.1.41.jar进行 数据库链接时 出现以下警告:java
Establishing SSL connection without server's identity verification is not recommended. mysql
缘由是mysql在高版本中须要显式指定是否进行SSL链接。sql
在链接mysql配置文件中添加ssl=true便可数据库
connectionURL="jdbc:mysql://localhost:3306/xxxxx?useSSL=true"ide