#primary spring.primary.datasource.url=jdbc:mysql://localhost:3306/test1 spring.primary.datasource.username=root spring.primary.datasource.password=root spring.primary.datasource.driver-class-name=com.mysql.jdbc.Driver #secondary spring.secondary.datasource.url=jdbc:mysql://localhost:3306/test2 spring.secondary.datasource.username=root spring.secondary.datasource.password=root spring.secondary.datasource.driver-class-name=com.mysql.jdbc.Driver #multiple Setting spring.jpa.properties.hibernate.hbm2ddl.auto=update spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect spring.jpa.show-sql= true