server:
port: 8808
servlet:
context-path: /
spring:
application:
name: xxxx
datasource:
#主库
master:
jdbc-url: jdbc:mysql://xx.xxx.xxx:3306/xxx?autoReconnect=true&useSSL=false
username: root
password: xxxxxx
driver-class-name: com.mysql.jdbc.Driver
#从库
slave:
jdbc-url: jdbc:mysql://xx.xxx.xxx:3306/xxx?characterEncoding=GBK&zeroDateTimeBehavior=convertToNull
username: root
password: xxxxxxx
connection-timeout: 600000
driver-class-name: com.mysql.jdbc.Driver
#equipment
equipment:
jdbc-url: jdbc:mysql://xx.xxx.xxx:3306/xxx?autoReconnect=true&useSSL=false
username: root
password: xxxxxxx
driver-class-name: com.mysql.jdbc.Driver