From 0320d3796a3439b15faf05f083fd2c6f844d04f9 Mon Sep 17 00:00:00 2001 From: piexlmax <303176530@qq.com> Date: Sun, 1 Jan 2023 01:25:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=20=E6=98=AF=E5=85=B6=E5=8F=AF=E4=BB=A5=E6=94=AF?= =?UTF-8?q?=E6=8C=81oracle=E5=92=8Cmssql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/config.yaml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/server/config.yaml b/server/config.yaml index dd8631b4..cd392494 100644 --- a/server/config.yaml +++ b/server/config.yaml @@ -81,10 +81,31 @@ pgsql: max-open-conns: 100 log-mode: "" log-zap: false - +oracle: + path: "" + port: "" + config: "" + db-name: "" + username: "" + password: "" + max-idle-conns: 10 + max-open-conns: 100 + log-mode: "" + log-zap: false +mssql: + path: "" + port: "" + config: "" + db-name: "" + username: "" + password: "" + max-idle-conns: 10 + max-open-conns: 100 + log-mode: "" + log-zap: false db-list: - disable: true # 是否禁用 - type: "" # 数据库的类型,目前支持mysql、pgsql + type: "" # 数据库的类型,目前支持mysql、pgsql、mssql、oracle alias-name: "" # 数据库的名称,注意: alias-name 需要在db-list中唯一 path: "" port: "" -- GitLab