From a91b6f43843982f190dc2bc42086b8384a21de03 Mon Sep 17 00:00:00 2001 From: FakePlasticTree <58327725+lizzy-0323@users.noreply.github.com> Date: Wed, 23 Oct 2024 17:03:10 +0800 Subject: [PATCH] docs: fix build-and-run.md (#2154) --- docs/docs/en/build-and-run.md | 2 +- docs/docs/zh/build-and-run.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/docs/en/build-and-run.md b/docs/docs/en/build-and-run.md index 599f75285..e94f46a0b 100644 --- a/docs/docs/en/build-and-run.md +++ b/docs/docs/en/build-and-run.md @@ -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 diff --git a/docs/docs/zh/build-and-run.md b/docs/docs/zh/build-and-run.md index 788d1505c..1c7a04a6c 100644 --- a/docs/docs/zh/build-and-run.md +++ b/docs/docs/zh/build-and-run.md @@ -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 端口,下文中的示例也是基于这个端口。 ## 连接