From 6f01a484270b3a1fbe3e34bd17d5e3b676f9c626 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期三, 04 十二月 2024 11:28:13 +0800 Subject: [PATCH] 修改 --- src/main/resources/config/application-dev.yml | 21 +++++---------------- 1 files changed, 5 insertions(+), 16 deletions(-) diff --git a/src/main/resources/config/application-dev.yml b/src/main/resources/config/application-dev.yml index e016358..f05f122 100644 --- a/src/main/resources/config/application-dev.yml +++ b/src/main/resources/config/application-dev.yml @@ -18,22 +18,11 @@ #鏁版嵁搴� spring: datasource: - dynamic: - primary: master # 榛樿浣跨敤mater搴� - strict: false # 涓嶄娇鐢ㄤ弗鏍兼ā寮� - datasource: - master: - 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://192.168.10.183:5866/highgo?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8 - username: sysdba - password: Lmx&8688139 - db2: - type: com.alibaba.druid.pool.DruidDataSource - driver-class-name: org.sqlite.JDBC - url: jdbc:sqlite:E:\2杞欢涓嬭浇鍖匼easydarwin\EasyDarwin-windows-8.2.2-24031216\data\db\EasyDarwin.db?date_string_format=yyyy-MM-dd HH:mm:ss - # url: jdbc:sqlite:\2杞欢涓嬭浇鍖匼easydarwin\EasyDarwin-windows-8.2.2-24031216\data\db\EasyDarwin.db?date_string_format=yyyy-MM-dd HH:mm:ss + type: com.alibaba.druid.pool.DruidDataSource + driver-class-name: com.highgo.jdbc.Driver + 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 initialPoolSize: 2 minPoolSize: 5 -- Gitblit v1.9.1