|
@@ -45,7 +45,7 @@ spring:
|
|
primary: master
|
|
primary: master
|
|
datasource:
|
|
datasource:
|
|
master:
|
|
master:
|
|
- url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
|
|
|
|
|
|
+ url: jdbc:mysql://182.92.124.39:16603/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://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:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例
|
|
# 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:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例
|
|
@@ -54,24 +54,24 @@ spring:
|
|
# url: jdbc:kingbase8://127.0.0.1:54321/test # 人大金仓 KingbaseES 连接的示例
|
|
# url: jdbc:kingbase8://127.0.0.1:54321/test # 人大金仓 KingbaseES 连接的示例
|
|
# url: jdbc:postgresql://127.0.0.1:5432/postgres # OpenGauss 连接的示例
|
|
# url: jdbc:postgresql://127.0.0.1:5432/postgres # OpenGauss 连接的示例
|
|
username: root
|
|
username: root
|
|
- password: 123456
|
|
|
|
|
|
+ password: 123456a?
|
|
# username: sa # SQL Server 连接的示例
|
|
# username: sa # SQL Server 连接的示例
|
|
# password: Yudao@2024 # SQL Server 连接的示例
|
|
# password: Yudao@2024 # SQL Server 连接的示例
|
|
# username: SYSDBA # DM 连接的示例
|
|
# username: SYSDBA # DM 连接的示例
|
|
# password: SYSDBA001 # DM 连接的示例
|
|
# password: SYSDBA001 # DM 连接的示例
|
|
# username: root # OpenGauss 连接的示例
|
|
# username: root # OpenGauss 连接的示例
|
|
# password: Yudao@2024 # OpenGauss 连接的示例
|
|
# password: Yudao@2024 # OpenGauss 连接的示例
|
|
- slave: # 模拟从库,可根据自己需要修改
|
|
|
|
- lazy: true # 开启懒加载,保证启动速度
|
|
|
|
- url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
|
|
|
|
- username: root
|
|
|
|
- password: 123456
|
|
|
|
|
|
+# slave: # 模拟从库,可根据自己需要修改
|
|
|
|
+# lazy: true # 开启懒加载,保证启动速度
|
|
|
|
+# url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
|
|
|
|
+# username: root
|
|
|
|
+# password: 123456
|
|
|
|
|
|
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
|
|
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
|
|
data:
|
|
data:
|
|
redis:
|
|
redis:
|
|
- host: 127.0.0.1 # 地址
|
|
|
|
- port: 6379 # 端口
|
|
|
|
|
|
+ host: 182.92.124.39 # 地址
|
|
|
|
+ port: 17963 # 端口
|
|
database: 0 # 数据库索引
|
|
database: 0 # 数据库索引
|
|
# password: dev # 密码,建议生产环境开启
|
|
# password: dev # 密码,建议生产环境开启
|
|
|
|
|