Skip to content

Commit

Permalink
fix and rebase master code
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhangjian committed Mar 11, 2023
1 parent 46aa0c2 commit 18d4eb6
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions docs/zh/deployment/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,26 @@ app.id=你的appId
| Id | Key | Cluster |
|----|-----------|------------|

### 5.1.4 配置数据库连接信息

Apollo服务端需要知道如何连接到你前面创建的数据库,所以需要编辑[demo.sh](https://github.com/apolloconfig/apollo-quick-start/blob/master/demo.sh),修改ApolloPortalDB和ApolloConfigDB相关的数据库连接串信息。

```
# database platform
spring_profiles_group_github=postgre
# apollo portal db info
apollo_portal_db_url="jdbc:postgresql://localhost:5432/ApolloPortalDB?currentSchema=apolloportal&characterEncoding=utf8"
apollo_portal_db_username=用户名
apollo_portal_db_password=密码(如果没有密码,留空即可)
#apollo config db info
apollo_config_db_url="jdbc:postgresql://localhost:5432/ApolloConfigDB?currentSchema=apolloconfig&characterEncoding=utf8"
apollo_config_db_username=用户名
apollo_config_db_password=密码(如果没有密码,留空即可)
```

## 5.2 MySQL

### 5.2.1 初始化ApolloPortalDB数据库及表结构。
Expand Down Expand Up @@ -332,27 +352,7 @@ app.id=你的appId
|-------------|---------|-------|--------------------|
| 1 | timeout | 100 | sample timeout配置 |

## 5.3 配置其他数据库连接信息

Apollo服务端需要知道如何连接到你前面创建的数据库,所以需要编辑[demo.sh](https://github.com/apolloconfig/apollo-quick-start/blob/master/demo.sh),修改ApolloPortalDB和ApolloConfigDB相关的数据库连接串信息。

```
# database platform
spring_profiles_group_github=postgre
# apollo portal db info
apollo_portal_db_url="jdbc:postgresql://localhost:5432/ApolloPortalDB?currentSchema=apolloportal&characterEncoding=utf8"
apollo_portal_db_username=用户名
apollo_portal_db_password=密码(如果没有密码,留空即可)
#apollo config db info
apollo_config_db_url="jdbc:postgresql://localhost:5432/ApolloConfigDB?currentSchema=apolloconfig&characterEncoding=utf8"
apollo_config_db_username=用户名
apollo_config_db_password=密码(如果没有密码,留空即可)
```

## 5.4 配置mysql数据库连接信息
#### 5.2.3 配置数据库连接信息

Apollo服务端需要知道如何连接到你前面创建的数据库,所以需要编辑[demo.sh](https://github.com/apolloconfig/apollo-quick-start/blob/master/demo.sh),修改ApolloPortalDB和ApolloConfigDB相关的数据库连接串信息。
```
Expand Down

0 comments on commit 18d4eb6

Please sign in to comment.