You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.2 KiB

  1. spring:
  2. datasource:
  3. type: com.alibaba.druid.pool.DruidDataSource
  4. druid:
  5. driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  6. type: com.alibaba.druid.pool.DruidDataSource
  7. url: jdbc:sqlserver://192.168.1.90:1433;databaseName=CKT_MES_II_REAL0203
  8. username: sa
  9. password: XJsoft123
  10. initial-size: 10
  11. max-active: 100
  12. min-idle: 10
  13. max-wait: 60000
  14. pool-prepared-statements: true
  15. max-pool-prepared-statement-per-connection-size: 20
  16. time-between-eviction-runs-millis: 60000
  17. min-evictable-idle-time-millis: 300000
  18. #Oracle需要打开注释
  19. #validation-query: SELECT 1 FROM DUAL
  20. test-while-idle: true
  21. test-on-borrow: false
  22. test-on-return: false
  23. stat-view-servlet:
  24. allow: ""
  25. enabled: true
  26. url-pattern: /druid/*
  27. #login-username: admin
  28. #login-password: admin
  29. filter:
  30. stat:
  31. log-slow-sql: true
  32. slow-sql-millis: 1000
  33. merge-sql: false
  34. wall:
  35. config:
  36. multi-statement-allow: true
  37. #文件的存放的路径
  38. sys-file:
  39. file-path: 'D:\ckp-file'#不可以放入中文字符