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