Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##
- # The MySQL Application Configuration File
- #
- # This file is included when the 'mysql' Spring Profile is active.
- ##
- ##
- # Data Source Configuration
- ##
- #Connection
- spring.datasource.url=jdbc:mysql://hostname:3306/somedatabase?useSSL=false
- spring.datasource.username=someuser
- spring.datasource.password=somepass
- spring.datasource.driver-class-name=com.mysql.jdbc.Driver
- # Pool
- spring.datasource.tomcat.max-active=50
- spring.datasource.tomcat.max-idle=5
- spring.datasource.tomcat.min-idle=5
- spring.datasource.tomcat.initial-size=10
- spring.datasource.tomcat.validation-query=select 1;
- spring.datasource.tomcat.test-on-borrow=true
- spring.datasource.tomcat.time-between-eviction-runs-millis=60000
- spring.datasource.tomcat.min-evictable-idle-time-millis=300000
- # Initialization
- spring.datasource.schema=classpath:/data/mysql/schema.sql
- spring.datasource.data=classpath:/data/mysql/data.sql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement