From 3456af55ffdcb084d6f3d4013b28a75ee3ed496a Mon Sep 17 00:00:00 2001 From: hwf453 Date: Thu, 5 Dec 2024 20:26:57 +0800 Subject: [PATCH] ip change to 24 --- 20240922/weather/pom.xml | 2 +- 20240922/weather/src/main/resources/application.yml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/20240922/weather/pom.xml b/20240922/weather/pom.xml index 5dd8857..3b7c3c4 100644 --- a/20240922/weather/pom.xml +++ b/20240922/weather/pom.xml @@ -111,7 +111,7 @@ - ${project.artifactId} + org.springframework.boot diff --git a/20240922/weather/src/main/resources/application.yml b/20240922/weather/src/main/resources/application.yml index 5a9a6a6..8f6d260 100644 --- a/20240922/weather/src/main/resources/application.yml +++ b/20240922/weather/src/main/resources/application.yml @@ -5,8 +5,9 @@ spring: type: com.zaxxer.hikari.HikariDataSource #driverClassName: com.mysql.jdbc.Driver #com.mysql.cj.jdbc.Driver com.mysql.jdbc.Driver driverClassName: com.mysql.cj.jdbc.Driver #com.mysql.cj.jdbc.Driver com.mysql.jdbc.Driver -# url: jdbc:mysql://192.168.1.21:3306/weather?useUnicode=true&characterEncoding=utf-8&useSSL=false - url: jdbc:mysql://127.0.0.1:3306/weather?useUnicode=true&characterEncoding=utf-8&useSSL=false + #url: jdbc:mysql://192.168.1.21:3306/weather?useUnicode=true&characterEncoding=utf-8&useSSL=false + #url: jdbc:mysql://127.0.0.1:3306/weather?useUnicode=true&characterEncoding=utf-8&useSSL=false + url: jdbc:mysql://192.168.1.24:3306/weather?useUnicode=true&characterEncoding=utf-8&useSSL=false username: root password: Skyinno251, jpa: