From 0a58bb6fc2620f4f6dcec5d1325a66d18e2fea98 Mon Sep 17 00:00:00 2001 From: xueshengxi <525088609@qq.com> Date: Wed, 5 Feb 2025 17:16:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- riiwo-server/src/main/resources/application-local.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/riiwo-server/src/main/resources/application-local.yaml b/riiwo-server/src/main/resources/application-local.yaml index 8955ed0..526d959 100644 --- a/riiwo-server/src/main/resources/application-local.yaml +++ b/riiwo-server/src/main/resources/application-local.yaml @@ -47,10 +47,10 @@ spring: primary: master datasource: master: -# url: jdbc:mysql://192.168.2.110:3306/riiwo-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 - url: jdbc:postgresql://192.168.2.110:5432/riiwo-boot?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai # PostgreSQL 连接的示例 - username: postgres - password: rise123456 + url: jdbc:mysql://192.168.254.110:3306/exhibition_hall?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 +# url: jdbc:postgresql://192.168.254.110:5432/exhibition_hall?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai # PostgreSQL 连接的示例 + username: root + password: dw%2023 #slave: # 模拟从库,可根据自己需要修改 #lazy: true # 开启懒加载,保证启动速度 #url: jdbc:mysql://127.0.0.1:3306/riiwo-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true @@ -59,7 +59,7 @@ spring: # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 redis: - host: 192.168.2.110 # 地址 + host: 192.168.254.110 # 地址 port: 6379 # 端口 database: 1 # 数据库索引 password: 123456 # 密码,建议生产环境开启