|
@@ -176,14 +176,14 @@ com:
|
|
# url: jdbc:mysql://120.76.117.222/friendship?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
|
# url: jdbc:mysql://120.76.117.222/friendship?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
|
url: jdbc:mysql://120.79.211.173/friendship?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&allowMultiQueries=true
|
|
url: jdbc:mysql://120.79.211.173/friendship?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&allowMultiQueries=true
|
|
username: root
|
|
username: root
|
|
- password: Shanp123.
|
|
|
|
|
|
+ password: Shanpin#!#123456
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
slaveList:
|
|
slaveList:
|
|
- key: slave
|
|
- key: slave
|
|
# url: jdbc:mysql://120.78.13.246/friendship?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
|
# url: jdbc:mysql://120.78.13.246/friendship?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
|
url: jdbc:mysql://120.79.211.173/friendship?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&allowMultiQueries=true
|
|
url: jdbc:mysql://120.79.211.173/friendship?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&allowMultiQueries=true
|
|
username: root
|
|
username: root
|
|
- password: Shanp123.
|
|
|
|
|
|
+ password: Shanpin#!#123456
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
slaveDataSourceMethodPrefix:
|
|
slaveDataSourceMethodPrefix:
|
|
- get
|
|
- get
|