- 博客(4)
- 收藏
- 关注
原创 连接mysql工具类
本工具类是针对mysql8.0版本 import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; /** * 数据库连接工具类 * @ClassName: ...
2019-08-26 19:44:13 250
原创 mysql报错原因
java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launche...
2019-08-26 19:40:53 110
原创 jdbc连接mysql的错误1
java.sql.SQLException: The server time zone value '???ú±ê×??±??' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone conf...
2019-08-26 19:33:48 115
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人