Created
March 1, 2020 14:08
-
-
Save cg4jins/1e268b96420e75db655f792f2ca9f0e6 to your computer and use it in GitHub Desktop.
application.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spring: | |
datasource: | |
master: | |
minimumIdle: 0 | |
maximumPoolSize: 20 | |
connectionTestQuery: 'select 1' | |
jdbcUrl: jdbc:mysql://localhost:3306/sa | |
username: sa | |
password: 'sa' | |
driverClassName: com.mysql.cj.jdbc.Driver | |
slave: | |
minimumIdle: 0 | |
maximumPoolSize: 20 | |
connectionTestQuery: 'select 1' | |
jdbcUrl: jdbc:mysql://localhost:3306/sa | |
username: sa | |
password: 'sa' | |
driverClassName: com.mysql.cj.jdbc.Driver | |
readOnly: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment