hello-world.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. server:
  2. type: simple
  3. applicationContextPath: /
  4. connector:
  5. type: http
  6. port: 9000
  7. useServerHeader: true
  8. requestLog:
  9. appenders: []
  10. logging:
  11. appenders: []
  12. database:
  13. # the name of your JDBC driver
  14. driverClass: com.mysql.jdbc.Driver
  15. # the username
  16. user: benchmarkdbuser
  17. # the password
  18. password: benchmarkdbpass
  19. # the JDBC URL
  20. url: jdbc:mysql://localhost:3306/hello_world?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useUnbufferedInput=false&useReadAheadInput=false&maintainTimeStats=false&useServerPrepStmts&cacheRSMetadata=true
  21. # any properties specific to your JDBC driver:
  22. properties:
  23. charSet: UTF-8
  24. # the maximum amount of time to wait on an empty pool before throwing an exception
  25. maxWaitForConnection: 1s
  26. # the minimum number of connections to keep open
  27. minSize: 8
  28. # the maximum number of connections to keep open
  29. maxSize: 256
  30. # whether or not idle connections should be validated
  31. checkConnectionWhileIdle: false