当前位置: 代码迷 >> 综合 >> mysql-connector8.0以上注册驱动和获取连接方式更新
  详细解决方案

mysql-connector8.0以上注册驱动和获取连接方式更新

热度:87   发布时间:2024-02-09 12:45:04.0
Class.forName("com.mysql.cj.jdbc.Driver");
Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/test?&useSSL=false&serverTimezone=UTC", "root", "root");

踩坑

  相关解决方案