严智鑫
2024-04-09 e7110f57152cc0428dfa18ea34a924b06b2d89b3
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;
   }