From ceac91707d14927001f72a00e7eba1b2fa1b3b5a Mon Sep 17 00:00:00 2001 From: Cool <747682928@qq.com> Date: Sun, 8 Sep 2024 16:01:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9mysql=E5=92=8Credis=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 8 ++++---- .../src/main/resources/application-prod.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml b/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml index b88ee711..a7f926c2 100644 --- a/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml +++ b/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml @@ -156,9 +156,9 @@ spring: slow-sql-millis: 5000 datasource: master: - url: jdbc:mysql://82.157.76.162:3306/jeecg-boot2?characterEncoding=UTF-8&rewriteBatchedStatements=true&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai + url: jdbc:mysql://62.234.217.137:3306/jeecg-boot2?characterEncoding=UTF-8&rewriteBatchedStatements=true&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai username: root - password: wB4TL7Mp + password: nWZpHMb8mNxWE5Xk driver-class-name: com.mysql.cj.jdbc.Driver # 多数据源配置 #multi-datasource1: @@ -169,9 +169,9 @@ spring: #redis 配置 redis: database: 2 - host: 82.157.76.162 + host: 62.234.217.137 port: 6379 - password: aB3cDeF9 + password: LSHCwjr6ZN4hzCxS #mybatis plus 设置 mybatis-plus: mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml diff --git a/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml b/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml index 63c6a486..b106b26f 100644 --- a/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml +++ b/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml @@ -156,9 +156,9 @@ spring: slow-sql-millis: 5000 datasource: master: - url: jdbc:mysql://82.157.76.162:3306/jeecg-boot2?characterEncoding=UTF-8&rewriteBatchedStatements=true&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai + url: jdbc:mysql://62.234.217.137:3306/jeecg-boot2?characterEncoding=UTF-8&rewriteBatchedStatements=true&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai username: root - password: wB4TL7Mp + password: nWZpHMb8mNxWE5Xk driver-class-name: com.mysql.cj.jdbc.Driver # 多数据源配置 #multi-datasource1: @@ -169,9 +169,9 @@ spring: #redis 配置 redis: database: 2 - host: 82.157.76.162 + host: 62.234.217.137 port: 6379 - password: aB3cDeF9 + password: LSHCwjr6ZN4hzCxS #mybatis plus 设置 mybatis-plus: mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml