jdbcUrl = jdbc:mysql://xxx.xxx.xxx.xxx:4040/test?characterEncoding=utf8&useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=GMT
DruidPlugin druidPlugin = new DruidPlugin(p.get("jdbcUrl"), p.get("user"), p.get("password").trim(),"com.mysql.cj.jdbc.Driver");
服务器端是mysql8.0.18端口3306+mysql-proxy0.8.5 端口4040,sqlyog两者都连接正常,jfinal druid前者正常,后者就怎么都连接不上,就死在那里。
求教波神
项目:JFinal
注册驱动成功
java.sql.SQLException: No suitable driver found for jdbc:mysql://x.x.x.x:4040/test?characterEncoding=utf8&useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=GMT&autoReconnect=true
at java.sql.DriverManager.getConnection(DriverManager.java:689)