mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:17:23 +00:00
parent
839d588892
commit
8fa4be8589
@ -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
|
||||
|
@ -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
|
||||
|
@ -84,11 +84,11 @@ DB_HOST=localhost
|
||||
|
||||
数据库端口(使用 mysql 或 postgres 数据库时需要配置)
|
||||
|
||||
- MySQL 默认端口 3356
|
||||
- MySQL 默认端口 3306
|
||||
- PostgreSQL 默认端口 5432
|
||||
|
||||
```bash
|
||||
DB_PORT=3356
|
||||
DB_PORT=3306
|
||||
```
|
||||
|
||||
### DB_DATABASE
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user