Advertisement
Guest User

Untitled

a guest
Aug 11th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. ##
  2. # The MySQL Application Configuration File
  3. #
  4. # This file is included when the 'mysql' Spring Profile is active.
  5. ##
  6.  
  7. ##
  8. # Data Source Configuration
  9. ##
  10. #Connection
  11. spring.datasource.url=jdbc:mysql://hostname:3306/somedatabase?useSSL=false
  12. spring.datasource.username=someuser
  13. spring.datasource.password=somepass
  14. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  15.  
  16. # Pool
  17. spring.datasource.tomcat.max-active=50
  18. spring.datasource.tomcat.max-idle=5
  19. spring.datasource.tomcat.min-idle=5
  20. spring.datasource.tomcat.initial-size=10
  21.  
  22. spring.datasource.tomcat.validation-query=select 1;
  23. spring.datasource.tomcat.test-on-borrow=true
  24.  
  25. spring.datasource.tomcat.time-between-eviction-runs-millis=60000
  26. spring.datasource.tomcat.min-evictable-idle-time-millis=300000
  27.  
  28. # Initialization
  29. spring.datasource.schema=classpath:/data/mysql/schema.sql
  30. spring.datasource.data=classpath:/data/mysql/data.sql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement