From ab9e8f646be132d3c3a4a3c07405cb2db0577b59 Mon Sep 17 00:00:00 2001 From: sheep Date: Tue, 28 Oct 2025 12:43:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=85=8D=E7=BD=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tulingmall-order/tulingmall-order-history/src/main/resources/application.yml b/tulingmall-order/tulingmall-order-history/src/main/resources/application.yml index 69472e4..3155952 100644 --- a/tulingmall-order/tulingmall-order-history/src/main/resources/application.yml +++ b/tulingmall-order/tulingmall-order-history/src/main/resources/application.yml @@ -14,23 +14,23 @@ spring: ds-master: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://192.168.65.223:3306/tl_mall_order?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=true + url: jdbc:mysql://124.222.155.192:3308/tl_mall_order?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=true initialSize: 5 minIdle: 10 maxActive: 30 validationQuery: SELECT 1 FROM DUAL - username: tlmall - password: tlmall123 + username: root + password: Xiao196114. ds-slave: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://192.168.65.137:3306/tl_mall_order?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=true + url: jdbc:mysql://124.222.155.192:3308/tl_mall_order?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=true initialSize: 5 minIdle: 10 maxActive: 30 validationQuery: SELECT 1 FROM DUAL - username: tlmall - password: tlmall123 + username: root + password: Xiao196114. #读写分离配置 masterslave: name: ds_ms