|
@@ -1,5 +1,5 @@
|
|
|
server:
|
|
|
- port: 38080
|
|
|
+ port: 9095
|
|
|
|
|
|
--- #################### 数据库相关配置 ####################
|
|
|
spring:
|
|
@@ -47,8 +47,8 @@ spring:
|
|
|
primary: master
|
|
|
datasource:
|
|
|
master:
|
|
|
- url: jdbc:mysql://119.29.146.254:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=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&rewriteBatchedStatements=true # MySQL Connector/J 5.X 连接的示例
|
|
|
+ url: jdbc:mysql://42.194.163.46:3306/ywd?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
|
|
|
+ # url: jdbc:mysql://127.0.0.1:3306/ywd?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true # 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 连接的示例
|
|
|
# url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro;SelectMethod=cursor;encrypt=false;rewriteBatchedStatements=true;useUnicode=true;characterEncoding=utf-8 # SQLServer 连接的示例
|
|
@@ -65,7 +65,7 @@ spring:
|
|
|
# password: Yudao@2024 # OpenGauss 连接的示例
|
|
|
slave: # 模拟从库,可根据自己需要修改
|
|
|
lazy: true # 开启懒加载,保证启动速度
|
|
|
- url: jdbc:mysql://119.29.146.254:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
|
|
|
+ url: jdbc:mysql://42.194.163.46:3306/ywd?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
|
|
|
username: root
|
|
|
password: zrd1236987
|
|
|
# tdengine: # IoT 数据库(需要 IoT 物联网再开启噢!)
|
|
@@ -79,10 +79,10 @@ spring:
|
|
|
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
|
|
|
data:
|
|
|
redis:
|
|
|
- host: 119.29.146.254 # 地址
|
|
|
+ host: 42.194.163.46 # 地址
|
|
|
port: 6379 # 端口
|
|
|
database: 0 # 数据库索引
|
|
|
- # password: dev # 密码,建议生产环境开启
|
|
|
+ password: zrd1236987 # 密码,建议生产环境开启
|
|
|
|
|
|
--- #################### 定时任务相关配置 ####################
|
|
|
|