Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] Add initialization database PostgreSQL SQL statement source file link. #593

Open
wants to merge 2 commits into
base: develop-astro-nacos
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,13 @@ No configuration is required
<!-- <span data-type="color" style="color:rgb(25, 31, 37)"><span data-type="background" style="background-color:rgb(255, 255, 255)"> </span></span> -->
production and use recommendations at least backup mode, or high availability database.

#### Initializes the MySQL database
#### Initialize Database
>Select Database Initialization Scheme Based on Business Needs
- MySQL
- [SQL Statement Source File](https://github.com/alibaba/nacos/blob/master/distribution/conf/mysql-schema.sql)

[sql statement source file](https://github.com/alibaba/nacos/blob/master/distribution/conf/mysql-schema.sql)
- PostgreSQL
- [SQL Statement Source File](https://github.com/alibaba/nacos/blob/master/distribution/conf/derby-schema.sql)

### application. properties configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,15 @@ nacos.core.auth.server.identity.value=${自定义,保证所有节点一致}
<!-- <span data-type="color" style="color:rgb(25, 31, 37)"><span data-type="background" style="background-color:rgb(255, 255, 255)"></span></span> -->
生产使用建议至少主备模式,或者采用高可用数据库。

#### 初始化 MySQL 数据库
#### 初始化数据库

[sql语句源文件](https://github.com/alibaba/nacos/blob/master/distribution/conf/mysql-schema.sql)
>根据业务需求自主选择数据库初始化方案

- MySQL
- [sql语句源文件](https://github.com/alibaba/nacos/blob/master/distribution/conf/mysql-schema.sql)

- PostgreSQL
- [sql语句源文件](https://github.com/alibaba/nacos/blob/master/distribution/conf/derby-schema.sql)

#### application.properties 配置

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,13 @@ No configuration is required
<!-- <span data-type="color" style="color:rgb(25, 31, 37)"><span data-type="background" style="background-color:rgb(255, 255, 255)"> </span></span> -->
production and use recommendations at least backup mode, or high availability database.

#### Initializes the MySQL database
#### Initialize Database
>Select Database Initialization Scheme Based on Business Needs
- MySQL
- [SQL Statement Source File](https://github.com/alibaba/nacos/blob/master/distribution/conf/mysql-schema.sql)

[sql statement source file](https://github.com/alibaba/nacos/blob/master/distribution/conf/mysql-schema.sql)
- PostgreSQL
- [SQL Statement Source File](https://github.com/alibaba/nacos/blob/master/distribution/conf/derby-schema.sql)

### application. properties configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,15 @@ nacos.core.auth.server.identity.value=${自定义,保证所有节点一致}
<!-- <span data-type="color" style="color:rgb(25, 31, 37)"><span data-type="background" style="background-color:rgb(255, 255, 255)"></span></span> -->
生产使用建议至少主备模式,或者采用高可用数据库。

#### 初始化 MySQL 数据库
#### 初始化数据库

[sql语句源文件](https://github.com/alibaba/nacos/blob/master/distribution/conf/mysql-schema.sql)
>根据业务需求自主选择数据库初始化方案

- MySQL
- [sql语句源文件](https://github.com/alibaba/nacos/blob/master/distribution/conf/mysql-schema.sql)

- PostgreSQL
- [sql语句源文件](https://github.com/alibaba/nacos/blob/master/distribution/conf/derby-schema.sql)

#### application.properties 配置

Expand Down