docs: fix build-and-run.md (#2154)

This commit is contained in:
FakePlasticTree 2024-10-23 17:03:10 +08:00 committed by GitHub
parent 594bf6622e
commit a91b6f4384
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -37,7 +37,7 @@ Now that you built the `observer` binary, you can deploy an OceanBase instance w
./tools/deploy/obd.sh deploy -c ./tools/deploy/single.yaml
```
This starts the OceanBase server listening on port 10000.
You can check the `mysql_port` in `./tools/deploy/single.yaml` file to see the listening port. Normally, if you deploy with the root user, the OceanBase server will listen on port 10000, and the examples below are also based on this port.
## Connect

View File

@ -36,8 +36,7 @@ bash build.sh release --init --make
./tools/deploy/obd.sh prepare -p /tmp/obtest
./tools/deploy/obd.sh deploy -c ./tools/deploy/single.yaml
```
OceanBase 服务程序会监听 10000 端口。
你可以通过查看 `./tools/deploy/single.yaml` 文件中的`mysql_port`来查看监听端口,通常情况下,如果你用root用户部署,那么OceanBase 服务程序会监听 10000 端口,下文中的示例也是基于这个端口。
## 连接