From 0134b0f5188da8b257d0aaca2b513012656fc719 Mon Sep 17 00:00:00 2001 From: carm Date: Tue, 20 Dec 2022 09:43:33 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E7=A4=BA=E4=BE=8B=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .doc/example-config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.doc/example-config.yml b/.doc/example-config.yml index 3d0096c..8a894ff 100644 --- a/.doc/example-config.yml +++ b/.doc/example-config.yml @@ -29,13 +29,13 @@ properties: databases: "example-mariadb": # 数据库源名称 不可包含“.” 以“example-”开头的数据源不会被加载 - driver-type: mariadb + type: mariadb # MySQL / MariaDB 类型 host: 127.0.0.1 # 数据库地址 port: 3306 # 数据库端口 username: minecraft # 数据库用户名 password: password #数据库连接密码 database: minecraft #数据库名 - "example-h2": # 数据库源名称 不可包含“.” 以“example-”开头的数据源不会被加载 - driver-type: h2 #数据库驱动类型,目前支持 mariadb, mysql, h2 + "example-h2": + type: h2-file file: "example.db" #数据库文件路径,相对于“plugins/MineSQL/db-files/” \ No newline at end of file