mysql版本:5.7
使用c3p0连接池时弹出警告:
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. For compliance with existing app
处理方法:
在c3p0-config.xml文件中作出如下改动:
<property name="jdbcUrl">jdbc:mysql://127.0.0.1:3306/xxx?useSSL=false</property>