严智鑫
2024-03-25 5fb507ab11cf9ac3d1bceae718bcb9bb50c37651
springboot-vue3/src/main/java/com/example/springboot/service/JdbcConnections.java
@@ -256,7 +256,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://10.153.19.150:3306/canadames?serverTimezone=GMT%2B8&characterEncoding=utf-8", "root", "beibo.123/");
      return conn;
   }