ZengTao
2024-05-06 b454340c14d789c5fe41350d092ea2f14d6454b3
springboot-vue3/src/main/java/com/example/springboot/service/JdbcConnections.java
@@ -345,7 +345,7 @@
   public static Connection getConn() throws SQLException {
      Connection conn = null;
      // conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/canadames?serverTimezone=GMT%2B8&characterEncoding=utf-8", "root", "beibo.123/");
      conn = DriverManager.getConnection("jdbc:mysql://192.168.102.9:3306/production?serverTimezone=GMT%2B8&characterEncoding=utf-8&usessl=false", "northglass", "n0rthgla55");
      conn = DriverManager.getConnection("jdbc:mysql://192.168.102.9:3306/production?serverTimezone=GMT%2B8&characterEncoding=utf-8&useSSL=false", "northglass", "n0rthgla55");
      return conn;
   }