hello-world-mysql.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. server:
  2. type: simple
  3. maxQueuedRequests: 8192
  4. applicationContextPath: /
  5. connector:
  6. type: http
  7. port: 9090
  8. useServerHeader: true
  9. # There is no proxy in front of the server
  10. useForwardedHeaders: false
  11. # Test requirements forbid gzip compression of the replies
  12. gzip:
  13. enabled: false
  14. requestLog:
  15. appenders: []
  16. logging:
  17. appenders: []
  18. database:
  19. # the name of your JDBC driver
  20. driverClass: com.mysql.jdbc.Driver
  21. # the username
  22. user: benchmarkdbuser
  23. # the password
  24. password: benchmarkdbpass
  25. # the JDBC URL
  26. url: jdbc:mysql://TFB-database: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&useSSL=false
  27. # any properties specific to your JDBC driver:
  28. properties:
  29. charSet: UTF-8
  30. hibernate.dialect: org.hibernate.dialect.MySQLDialect
  31. # the maximum amount of time to wait on an empty pool before throwing an exception
  32. maxWaitForConnection: 1s
  33. # the initial number of connections
  34. initialSize: 8
  35. # the minimum number of connections to keep open
  36. minSize: 8
  37. # the maximum number of connections to keep open
  38. maxSize: 256
  39. # whether or not idle connections should be validated
  40. checkConnectionWhileIdle: false
  41. # disable comments in SQL queries
  42. autoCommentsEnabled: false
  43. # disable autocommit in the JDBC driver
  44. autoCommitByDefault: false