|
@@ -130,12 +130,12 @@ spring:
|
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
|
datasource:
|
|
|
master: ## 声明第一个数据源所需的数据
|
|
|
- url: jdbc:mysql://152.136.206.27:3306/yecai?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
+ url: jdbc:mysql://152.136.206.27:3306/kezhikeshi?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
username: itdm-boot
|
|
|
password: itdm-boot@2023
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
slave: # 第二个数据源
|
|
|
- url: jdbc:mysql://152.136.206.27:3306/kezhikeshiceshi?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
+ url: jdbc:mysql://152.136.206.27:3306/kezhikeshiceshi?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
username: itdm-boot
|
|
|
password: itdm-boot@2023
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|