docs: fix build-and-run.md (#2154)
This commit is contained in:
parent
594bf6622e
commit
a91b6f4384
@ -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
|
||||
|
||||
|
@ -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 端口,下文中的示例也是基于这个端口。
|
||||
|
||||
## 连接
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user