From a7fce34ddec790d1a104c3bf4b47148a5e00b66a Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 06 八月 2024 14:57:18 +0800
Subject: [PATCH] update for db & redis config
---
.gitignore | 21 +++++++++++++++++++++
jh-server/src/main/resources/application-local.yaml | 18 +++++++++---------
2 files changed, 30 insertions(+), 9 deletions(-)
diff --git a/.gitignore b/.gitignore
index e43b0f9..c41405c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,22 @@
.DS_Store
+/jh-server/target
+/jh-module-system/jh-module-system-biz/target
+/jh-module-system/jh-module-system-api/target
+/jh-module-infra/jh-module-infra-biz/target
+/jh-module-infra/jh-module-infra-api/target
+/jh-framework/jh-spring-boot-starter-websocket/target
+/jh-framework/jh-spring-boot-starter-web/target
+/jh-framework/jh-spring-boot-starter-security/target
+/jh-framework/jh-spring-boot-starter-redis/target
+/jh-framework/jh-spring-boot-starter-protection/target
+/jh-framework/jh-spring-boot-starter-mybatis/target
+/jh-framework/jh-spring-boot-starter-mq/target
+/jh-framework/jh-spring-boot-starter-monitor/target
+/jh-framework/jh-spring-boot-starter-job/target
+/jh-framework/jh-spring-boot-starter-excel/target
+/jh-framework/jh-spring-boot-starter-biz-tenant/target
+/jh-framework/jh-spring-boot-starter-biz-ip/target
+/jh-framework/jh-spring-boot-starter-biz-data-permission/target
+/jh-framework/jh-common/target
+/.idea
+.flattened-pom.xml
diff --git a/jh-server/src/main/resources/application-local.yaml b/jh-server/src/main/resources/application-local.yaml
index 7650c69..f433d42 100644
--- a/jh-server/src/main/resources/application-local.yaml
+++ b/jh-server/src/main/resources/application-local.yaml
@@ -46,7 +46,7 @@
primary: master
datasource:
master:
- url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 杩炴帴鐨勭ず渚�
+ url: jdbc:mysql://rm-cn-lbj3spkaz000cx2o.rwlb.rds.aliyuncs.com:3306/lihu?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 杩炴帴鐨勭ず渚�
# url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 杩炴帴鐨勭ず渚�
# url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 杩炴帴鐨勭ず渚�
# url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 杩炴帴鐨勭ず渚�
@@ -54,8 +54,8 @@
# url: jdbc:dm://127.0.0.1:5236?schema=RUOYI_VUE_PRO # DM 杩炴帴鐨勭ず渚�
# url: jdbc:kingbase8://127.0.0.1:54321/test # 浜哄ぇ閲戜粨 KingbaseES 杩炴帴鐨勭ず渚�
# url: jdbc:postgresql://127.0.0.1:5432/postgres # OpenGauss 杩炴帴鐨勭ず渚�
- username: root
- password: 123456
+ username: yinyu
+ password: Root@yinyu
# username: sa # SQL Server 杩炴帴鐨勭ず渚�
# password: Jh@2024 # SQL Server 杩炴帴鐨勭ず渚�
# username: SYSDBA # DM 杩炴帴鐨勭ず渚�
@@ -64,16 +64,16 @@
# password: Jh@2024 # OpenGauss 杩炴帴鐨勭ず渚�
slave: # 妯℃嫙浠庡簱锛屽彲鏍规嵁鑷繁闇�瑕佷慨鏀�
lazy: true # 寮�鍚噿鍔犺浇锛屼繚璇佸惎鍔ㄩ�熷害
- url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
- username: root
- password: 123456
+ url: jdbc:mysql://rm-cn-lbj3spkaz000cx2o.rwlb.rds.aliyuncs.com:3306/lihu?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 杩炴帴鐨勭ず渚�
+ username: yinyu
+ password: Root@yinyu
# Redis 閰嶇疆銆俁edisson 榛樿鐨勯厤缃冻澶熶娇鐢紝涓�鑸笉闇�瑕佽繘琛岃皟浼�
redis:
- host: 127.0.0.1 # 鍦板潃
+ host: r-bp1zyjl0g07e1ry08rpd.redis.rds.aliyuncs.com # 鍦板潃
port: 6379 # 绔彛
- database: 0 # 鏁版嵁搴撶储寮�
-# password: dev # 瀵嗙爜锛屽缓璁敓浜х幆澧冨紑鍚�
+ database: 2 # 鏁版嵁搴撶储寮�
+ password: Root@yinyu # 瀵嗙爜锛屽缓璁敓浜х幆澧冨紑鍚�
--- #################### 瀹氭椂浠诲姟鐩稿叧閰嶇疆 ####################
--
Gitblit v1.9.3