diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index 1cf8273d3..9ace52739 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -2,15 +2,15 @@ spring.datasource.type = com.zaxxer.hikari.HikariDataSource #数据源master -spring.datasource.master.schema-name=royalpay_production -spring.datasource.master.host=119.28.3.196:3310 +spring.datasource.master.schema-name=royalpay_dev +spring.datasource.master.host=127.0.0.1:3306 spring.datasource.master.jdbc-url=jdbc:mysql://${spring.datasource.master.host}/${spring.datasource.master.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false -spring.datasource.master.username=readonly -spring.datasource.master.password=read0nly +spring.datasource.master.username=root +spring.datasource.master.password=root #数据源salve -spring.datasource.slave.schema-name=royalpay_production -spring.datasource.slave.host=119.28.3.196:3310 +spring.datasource.slave.schema-name=royalpay_dev +spring.datasource.slave.host=127.0.0.1:3306 spring.datasource.slave.jdbc-url=jdbc:mysql://${spring.datasource.slave.host}/${spring.datasource.slave.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false -spring.datasource.slave.username=readonly -spring.datasource.slave.password=read0nly +spring.datasource.slave.username=root +spring.datasource.slave.password=root