|
@@ -6,19 +6,19 @@ spring:
|
|
|
druid:
|
|
|
# 主库数据源 47.122.10.161 121.4.140.159
|
|
|
master:
|
|
|
-# url: jdbc:mysql://121.4.140.159:3307/ruoyi-community?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
-# username: root
|
|
|
-# password: fangzhen,7410
|
|
|
- url: jdbc:mysql://rm-bp12v02802jkd05j89o.mysql.rds.aliyuncs.com:3306/ruoyi-community_backup?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
- username: cysd
|
|
|
- password: cysd123!@#
|
|
|
+ url: jdbc:mysql://121.4.140.159:3307/ruoyi-community?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ username: root
|
|
|
+ password: fangzhen,7410
|
|
|
+# url: jdbc:mysql://rm-bp12v02802jkd05j89o.mysql.rds.aliyuncs.com:3306/ruoyi-community_backup?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+# username: cysd
|
|
|
+# password: cysd123!@#
|
|
|
# 从库数据源
|
|
|
slave:
|
|
|
# 从数据源开关/默认关闭
|
|
|
enabled: false
|
|
|
- url:
|
|
|
- username:
|
|
|
- password:
|
|
|
+ url:
|
|
|
+ username:
|
|
|
+ password:
|
|
|
# 初始连接数
|
|
|
initialSize: 5
|
|
|
# 最小连接池数量
|
|
@@ -42,7 +42,7 @@ spring:
|
|
|
testWhileIdle: true
|
|
|
testOnBorrow: false
|
|
|
testOnReturn: false
|
|
|
- webStatFilter:
|
|
|
+ webStatFilter:
|
|
|
enabled: true
|
|
|
statViewServlet:
|
|
|
enabled: true
|
|
@@ -61,4 +61,4 @@ spring:
|
|
|
merge-sql: true
|
|
|
wall:
|
|
|
config:
|
|
|
- multi-statement-allow: true
|
|
|
+ multi-statement-allow: true
|