|
@@ -136,11 +136,11 @@ spring:
|
|
|
password: root
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
# 多数据源配置
|
|
|
- multi-datasource1:
|
|
|
- url: jdbc:mysql://localhost:3306/sen_yu?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
- username: root
|
|
|
- password: root
|
|
|
- driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
+# multi-datasource1:
|
|
|
+# url: jdbc:mysql://localhost:3306/sen_yu?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
+# username: root
|
|
|
+# password: root
|
|
|
+# driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
#redis 配置
|
|
|
redis:
|
|
|
database: 0
|