From c42695c5686213e7313d8dd8df80a4af903ebe8d Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期四, 14 十一月 2024 11:25:04 +0800 Subject: [PATCH] 专网数据库地址 --- ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-dev.properties | 4 ++-- ruoyi-admin/src/main/resources/application-dev.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml index 1767212..d31c6b9 100644 --- a/ruoyi-admin/src/main/resources/application-dev.yml +++ b/ruoyi-admin/src/main/resources/application-dev.yml @@ -43,9 +43,9 @@ driverClassName: com.mysql.cj.jdbc.Driver # jdbc 鎵�鏈夊弬鏁伴厤缃弬鑰� https://lionli.blog.csdn.net/article/details/122018562 # rewriteBatchedStatements=true 鎵瑰鐞嗕紭鍖� 澶у箙鎻愬崌鎵归噺鎻掑叆鏇存柊鍒犻櫎鎬ц兘(瀵规暟鎹簱鏈夋�ц兘鎹熻�� 浣跨敤鎵归噺鎿嶄綔搴旇�冭檻鎬ц兘闂) - url: jdbc:mysql://123.207.71.245:13306/qysp?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true + url: jdbc:mysql://101.35.247.188:3306/qysp?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true username: root - password: 234#Wersdf! + password: ycl@202466 # 浠庡簱鏁版嵁婧� slave: lazy: true @@ -96,9 +96,9 @@ spring.data: redis: # 鍦板潃 - host: 162.14.79.111 + host: 127.0.0.1 # 绔彛锛岄粯璁や负6379 - port: 16379 + port: 6379 password: 234#Wersdf! # 鏁版嵁搴撶储寮� database: 0 diff --git a/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-dev.properties b/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-dev.properties index 9e815fa..62764e5 100644 --- a/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-dev.properties +++ b/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-dev.properties @@ -2,9 +2,9 @@ ####### Database properties(Configure according to the the environment) ####### spring.datasource.core.driver-class-name=com.mysql.cj.jdbc.Driver -spring.datasource.core.jdbc-url=jdbc:mysql://123.207.71.245:13306/qysp?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true +spring.datasource.core.jdbc-url=jdbc:mysql://101.35.247.188:3306/qysp?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true spring.datasource.core.username=root -spring.datasource.core.password=234#Wersdf! +spring.datasource.core.password=ycl@202466 spring.datasource.core.maximum-pool-size=20 spring.datasource.core.minimum-idle=5 -- Gitblit v1.8.0