db.properties 1.5 KB

123456789101112131415161718192021
  1. driverClassName=com.mysql.jdbc.Driver
  2. url=jdbc:mysql://192.168.33.159:3306/p2p21_piaojuke_czbank?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
  3. username=root
  4. password=p2p_zdsoft!
  5. filters=stat
  6. ####\u6c60\u542f\u52a8\u65f6\u7684\u8fde\u63a5\u6570\u91cf #####
  7. initialSize=5
  8. ####\u540c\u4e00\u65f6\u95f4\u53ef\u4ee5\u4ece\u6c60\u5206\u914d\u7684\u6700\u591a\u8fde\u63a5\u6570\u91cf\uff0c0\u8868\u793a\u65e0\u9650\u5236####
  9. maxActive=10
  10. ####\u6c60\u91cc\u4e0d\u4f1a\u88ab\u91ca\u653e\u7684\u6700\u591a\u7a7a\u95f2\u8fde\u63a5\u6570\u91cf\uff0c0\u8868\u793a\u65e0\u9650\u5236####
  11. maxIdle=1
  12. ####\u540c\u4e00\u65f6\u95f4\u80fd\u4ece\u8bed\u53e5\u6c60\u91cc\u5206\u914d\u7684\u5df2\u5907\u8bed\u53e5\u7684\u6700\u5927\u6570\u91cf\uff0c0\u8868\u793a\u65e0\u9650\u5236####
  13. maxOpenPreparedStatements=20
  14. ####\u5728\u629b\u51fa\u5f02\u5e38\u524d\u6c60\u7b49\u5f85\u8fde\u63a5\u88ab\u56de\u6536\u7684\u6700\u957f\u65f6\u95f4\uff08\u5f53\u6ca1\u6709\u53ef\u7528\u8fde\u63a5\u65f6\uff09\uff0c-1\u8868\u793a\u65e0\u9650\u5236####
  15. maxWait=30000
  16. ####\u8fde\u63a5\u7a7a\u95f2\u800c\u4e0d\u88ab\u9a71\u9010\u7684\u6700\u957f\u65f6\u95f4####
  17. minEvictableIdleTimeMillis=300
  18. ####\u5728\u4e0d\u65b0\u5efa\u8fde\u63a5\u7684\u6761\u4ef6\u4e0b\uff0c\u6c60\u4e2d\u4fdd\u6301\u7a7a\u95f2\u7684\u6700\u5c11\u8fde\u63a5\u6570####
  19. minIdle=1
  20. ####\u662f\u5426\u5bf9\u5df2\u5907\u8bed\u53e5\u8fdb\u884c\u6c60\u7ba1\u7406\uff08\u5e03\u5c14\u503c\uff09####
  21. poolPreparedStatements=true