springboot-vue3/src/main/java/com/example/springboot/service/JdbcConnections.java
@@ -34,7 +34,7 @@ while (rs.next()) { glass.setOrderId(rs.getShort("orderid")); } conn.close(); return glass; } /** @@ -56,7 +56,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://localhost:3306/canadameserp?serverTimezone=GMT%2B8&characterEncoding=utf-8", "root", "beibo.123/"); return conn; }