application.yml 816 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. server:
  2. port: 22222
  3. Spring:
  4. profiles:
  5. active: pro
  6. jpa:
  7. hibernate:
  8. ddl-auto: update
  9. mybatis:
  10. mapper-locations: classpath:mapper/**.xml
  11. logging:
  12. level:
  13. org:
  14. hibernate:
  15. SQL: INFO # 开启SQL的log 这里需要设置为DEBUG
  16. type:
  17. descriptor:
  18. sql:
  19. BasicBinder: INFO # 开启SQL的参数记录 这里需要设置为TRACE
  20. com:
  21. nokia: DEBUG
  22. ---
  23. spring:
  24. profiles: pro
  25. datasource:
  26. driver-class-name: org.postgresql.Driver
  27. url: jdbc:postgresql://192.168.10.9:5432/sqmmt
  28. username: postgres
  29. password: Richr00t#
  30. ---
  31. #spring:
  32. # profiles: dev
  33. # datasource:
  34. # driver-class-name: org.postgresql.Driver
  35. # url: jdbc:postgresql://localhost:5432/tsl_data
  36. # username: postgres
  37. # password: fantuan1985