From 56db503a74222d8e401e5d224530d219d9651715 Mon Sep 17 00:00:00 2001 From: Xiaohe <496631085@qq.com> Date: Tue, 13 Jan 2026 08:16:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E8=A3=85=E8=AF=B4=E6=98=8E=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改配置文件名和详细的mysql连接说明 --- docs/guide-zh-CN/start-installation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/guide-zh-CN/start-installation.md b/docs/guide-zh-CN/start-installation.md index 6015b35..e527318 100644 --- a/docs/guide-zh-CN/start-installation.md +++ b/docs/guide-zh-CN/start-installation.md @@ -27,7 +27,7 @@ git clone https://github.com/bufanyun/hotgo.git && cd hotgo 1、服务端: - 项目数据库文件 `storage/data/hotgo.sql` 创建数据库并导入 -- 将配置文件 `manifest/config/config.yaml.bak` 复制后改为`manifest/config/config.yaml` +- 将配置文件 `manifest/config/config.example.yaml` 复制后改为`manifest/config/config.yaml` - 将`manifest/config/config.yaml`中的`database.default.link`数据库配置改为你自己的: ```yaml # Database. 配置参考:https://goframe.org/pages/viewpage.action?pageId=1114245 @@ -37,6 +37,7 @@ database: <<: *defaultLogger stdout: true default: +# link: "mysql:账号:密码@tcp(127.0.0.1:3306)/数据库名?loc=Local&parseTime=true&charset=utf8mb4" link: "mysql:hotgo:hg123456.@tcp(127.0.0.1:3306)/hotgo?loc=Local&parseTime=true&charset=utf8mb4" debug: true Prefix: "hg_"