java连接jdbc 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 defa

conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/jsp_db","root","123456");

这个地方改成conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/jsp_db?useUnicode=true&characterEncoding=utf-8&useSSL=false","root","123456");

posted @ 2016-12-18 20:14  CoderQiang  阅读(6455)  评论(0编辑  收藏  举报