whycxzp
2024-05-20 d444973512c64db0f739a194514ae99cb8401879
src/main/resources/config/application-prod.yml
@@ -18,11 +18,13 @@
#数据库
spring:
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:dm://localhost:5236/SYSDBA?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
    username: SYSDBA
    password: lmx8688139
#    type: com.alibaba.druid.pool.DruidDataSource
    druid:
      db-type: POSTGRE_SQL
    driver-class-name: com.highgo.jdbc.Driver
    url: jdbc:highgo://192.168.10.82:5866/db_user?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
    username: highgo
    password: Lmx8688139*
    maxIdel: 60
    initialPoolSize: 2
    minPoolSize: 5