parent
839d588892
commit
8fa4be8589
@ -84,11 +84,11 @@ DB_HOST=localhost
|
|||||||
|
|
||||||
Database port (required when using MySQL or PostgreSQL)
|
Database port (required when using MySQL or PostgreSQL)
|
||||||
|
|
||||||
- MySQL default port 3356
|
- MySQL default port 3306
|
||||||
- PostgreSQL default port 5432
|
- PostgreSQL default port 5432
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
DB_PORT=3356
|
DB_PORT=3306
|
||||||
```
|
```
|
||||||
|
|
||||||
### DB_DATABASE
|
### DB_DATABASE
|
||||||
|
@ -32,7 +32,7 @@ yarn create nocobase-app my-nocobase-app -d sqlite
|
|||||||
# MySQL
|
# MySQL
|
||||||
yarn create nocobase-app my-nocobase-app -d mysql \
|
yarn create nocobase-app my-nocobase-app -d mysql \
|
||||||
-e DB_HOST=localhost \
|
-e DB_HOST=localhost \
|
||||||
-e DB_PORT=3356 \
|
-e DB_PORT=3306 \
|
||||||
-e DB_DATABASE=nocobase \
|
-e DB_DATABASE=nocobase \
|
||||||
-e DB_USER=nocobase \
|
-e DB_USER=nocobase \
|
||||||
-e DB_PASSWORD=nocobase
|
-e DB_PASSWORD=nocobase
|
||||||
|
@ -84,11 +84,11 @@ DB_HOST=localhost
|
|||||||
|
|
||||||
数据库端口(使用 mysql 或 postgres 数据库时需要配置)
|
数据库端口(使用 mysql 或 postgres 数据库时需要配置)
|
||||||
|
|
||||||
- MySQL 默认端口 3356
|
- MySQL 默认端口 3306
|
||||||
- PostgreSQL 默认端口 5432
|
- PostgreSQL 默认端口 5432
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
DB_PORT=3356
|
DB_PORT=3306
|
||||||
```
|
```
|
||||||
|
|
||||||
### DB_DATABASE
|
### DB_DATABASE
|
||||||
|
@ -39,7 +39,7 @@ yarn create nocobase-app my-nocobase-app -d sqlite
|
|||||||
# MySQL
|
# MySQL
|
||||||
yarn create nocobase-app my-nocobase-app -d mysql \
|
yarn create nocobase-app my-nocobase-app -d mysql \
|
||||||
-e DB_HOST=localhost \
|
-e DB_HOST=localhost \
|
||||||
-e DB_PORT=3356 \
|
-e DB_PORT=3306 \
|
||||||
-e DB_DATABASE=nocobase \
|
-e DB_DATABASE=nocobase \
|
||||||
-e DB_USER=nocobase \
|
-e DB_USER=nocobase \
|
||||||
-e DB_PASSWORD=nocobase
|
-e DB_PASSWORD=nocobase
|
||||||
|
Loading…
Reference in New Issue
Block a user