whycxzp
2024-05-21 aaf051cd586235f026b10d5184e57e98fc465007
数据库连接切换瀚高数据库
2个文件已修改
12 ■■■■■ 已修改文件
src/main/resources/config/application-dev.yml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/config/application-prod.yml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/config/application-dev.yml
@@ -18,12 +18,10 @@
#数据库
spring:
  datasource:
#    type: com.alibaba.druid.pool.DruidDataSource
    druid:
      db-type: POSTGRE_SQL
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.highgo.jdbc.Driver
#    url: jdbc:dm://localhost:5236/SYSDBA?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
    url: jdbc:highgo://localhost:5866/test?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
    url: jdbc:highgo://192.168.10.183:5866/highgo?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
    username: sysdba
    password: Lmx&8688139
    maxIdel: 60
src/main/resources/config/application-prod.yml
@@ -18,11 +18,9 @@
#数据库
spring:
  datasource:
#    type: com.alibaba.druid.pool.DruidDataSource
    druid:
      db-type: POSTGRE_SQL
    type: com.alibaba.druid.pool.DruidDataSource
    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
    url: jdbc:highgo://localhost:5866/highgo?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
    username: sysdba
    password: Lmx&8688139
    maxIdel: 60