严智鑫
2024-03-22 1fb67fa712ec8844a6e6215d71dd67c2a935a136
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;
   }