From 8fa4be8589bbfd1f87fe165c6a37ca2a5f9b5a8a Mon Sep 17 00:00:00 2001 From: jeff99 <71963720+jeff-cc@users.noreply.github.com> Date: Tue, 28 Jun 2022 22:22:47 +0800 Subject: [PATCH] fix:update mysql port (#548) Co-authored-by: jeff --- docs/en-US/development/env.md | 4 ++-- .../en-US/getting-started/installation/create-nocobase-app.md | 2 +- docs/zh-CN/development/env.md | 4 ++-- .../zh-CN/getting-started/installation/create-nocobase-app.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en-US/development/env.md b/docs/en-US/development/env.md index 40a56d237..ce93251f6 100644 --- a/docs/en-US/development/env.md +++ b/docs/en-US/development/env.md @@ -84,11 +84,11 @@ DB_HOST=localhost Database port (required when using MySQL or PostgreSQL) -- MySQL default port 3356 +- MySQL default port 3306 - PostgreSQL default port 5432 ```bash -DB_PORT=3356 +DB_PORT=3306 ``` ### DB_DATABASE diff --git a/docs/en-US/getting-started/installation/create-nocobase-app.md b/docs/en-US/getting-started/installation/create-nocobase-app.md index 1daf48113..7d805d74e 100644 --- a/docs/en-US/getting-started/installation/create-nocobase-app.md +++ b/docs/en-US/getting-started/installation/create-nocobase-app.md @@ -32,7 +32,7 @@ yarn create nocobase-app my-nocobase-app -d sqlite # MySQL yarn create nocobase-app my-nocobase-app -d mysql \ -e DB_HOST=localhost \ - -e DB_PORT=3356 \ + -e DB_PORT=3306 \ -e DB_DATABASE=nocobase \ -e DB_USER=nocobase \ -e DB_PASSWORD=nocobase diff --git a/docs/zh-CN/development/env.md b/docs/zh-CN/development/env.md index 29e3c31af..2919e7e62 100644 --- a/docs/zh-CN/development/env.md +++ b/docs/zh-CN/development/env.md @@ -84,11 +84,11 @@ DB_HOST=localhost 数据库端口(使用 mysql 或 postgres 数据库时需要配置) -- MySQL 默认端口 3356 +- MySQL 默认端口 3306 - PostgreSQL 默认端口 5432 ```bash -DB_PORT=3356 +DB_PORT=3306 ``` ### DB_DATABASE diff --git a/docs/zh-CN/getting-started/installation/create-nocobase-app.md b/docs/zh-CN/getting-started/installation/create-nocobase-app.md index f0dda1a5e..be605548b 100644 --- a/docs/zh-CN/getting-started/installation/create-nocobase-app.md +++ b/docs/zh-CN/getting-started/installation/create-nocobase-app.md @@ -39,7 +39,7 @@ yarn create nocobase-app my-nocobase-app -d sqlite # MySQL yarn create nocobase-app my-nocobase-app -d mysql \ -e DB_HOST=localhost \ - -e DB_PORT=3356 \ + -e DB_PORT=3306 \ -e DB_DATABASE=nocobase \ -e DB_USER=nocobase \ -e DB_PASSWORD=nocobase