parent
d05bde6eb8
commit
13d1d8faa9
@ -1,48 +1,6 @@
|
||||
#\u591A\u6570\u636E\u6E90\u914D\u7F6E
|
||||
spring.datasource.type = com.zaxxer.hikari.HikariDataSource
|
||||
#\u6570\u636E\u6E90master
|
||||
|
||||
|
||||
#\u7EBF\u4E0A
|
||||
#spring.datasource.master.schema-name=royalpay_production
|
||||
#spring.datasource.master.host= 119.28.3.196:3310
|
||||
#spring.datasource.master.username=readonly
|
||||
#spring.datasource.master.password=read0nly
|
||||
|
||||
#33
|
||||
spring.datasource.master.schema-name=royalpay_20191011
|
||||
spring.datasource.master.host= 192.168.1.33:3306
|
||||
spring.datasource.master.username=root
|
||||
spring.datasource.master.password=root
|
||||
|
||||
#\u672C\u5730
|
||||
#spring.datasource.master.schema-name=royalpay
|
||||
#spring.datasource.master.host= 127.0.0.1:3306
|
||||
#spring.datasource.master.username=root
|
||||
#spring.datasource.master.password=root
|
||||
|
||||
|
||||
spring.datasource.master.jdbc-url=jdbc:mysql://${spring.datasource.master.host}/${spring.datasource.master.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false
|
||||
|
||||
|
||||
#\u6570\u636E\u6E90salve
|
||||
|
||||
#\u7EBF\u4E0A
|
||||
#spring.datasource.slave.schema-name=royalpay_production
|
||||
#spring.datasource.slave.host= 119.28.3.196:3310
|
||||
#spring.datasource.slave.username=readonly
|
||||
#spring.datasource.slave.password=read0nly
|
||||
|
||||
#33
|
||||
spring.datasource.slave.schema-name=royalpay_20191011
|
||||
spring.datasource.slave.host= 192.168.1.33:3306
|
||||
spring.datasource.slave.username=root
|
||||
spring.datasource.slave.password=root
|
||||
|
||||
#\u672C\u5730
|
||||
#spring.datasource.slave.schema-name=royalpay
|
||||
#spring.datasource.slave.host= 127.0.0.1:3306
|
||||
#spring.datasource.slave.username=root
|
||||
#spring.datasource.slave.password=root
|
||||
|
||||
spring.datasource.slave.jdbc-url=jdbc:mysql://${spring.datasource.slave.host}/${spring.datasource.slave.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false
|
||||
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
||||
spring.datasource.schema-name=royalpay_local
|
||||
spring.datasource.host=192.168.0.50:3306
|
||||
spring.datasource.url=jdbc:mysql://${spring.datasource.host}/${spring.datasource.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
|
Loading…
Reference in new issue