Skip to content

Commit 9a94149

Browse files
authored
docs: update xnode port (#34152)
* docs: uodate xnode port * 更新 94-datain.md * 更新 94-datain.md
1 parent a2e4411 commit 9a94149

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/en/14-reference/03-taos-sql/94-datain.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ CREATE XNODE 'url' USER name PASS 'password';
2323

2424
#### Parameter Description
2525

26-
- **url**: The address of the Xnode node, in the format `host:port`
26+
- **url**: The address of the Xnode node, in the format `host:port` with port to taosx GRPC service (6055 by default)
2727
- Username and password need to be specified when creating for the first time, used for xnoded to connect to taosd
2828

2929
#### Example
3030

3131
```sql
32-
taos> CREATE XNODE "h1:6050";
32+
taos> CREATE XNODE "h1:6055";
3333
Create OK, 0 row(s) affected (0.050798s)
3434

35-
taos> CREATE XNODE 'x1:6050' USER root PASS 'taosdata';
35+
taos> CREATE XNODE 'x1:6055' USER root PASS 'taosdata';
3636
Create OK, 0 row(s) affected (0.050798s)
3737
```
3838

docs/zh/14-reference/03-taos-sql/94-datain.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ CREATE XNODE 'url' USER name PASS 'password';
2323

2424
#### 参数说明
2525

26-
- **url**: Xnode 节点的地址,格式为 `host:port`
26+
- **url**: Xnode 节点的地址,格式为 `host:port`,端口号为 taosx GRPC 端口(默认 6055)
2727
- 首次创建需要指定用户名和密码,用于 xnoded 连接 taosd
2828

2929
#### 示例
3030

3131
```sql
32-
taos> CREATE XNODE "h1:6050";
32+
taos> CREATE XNODE "h1:6055";
3333
Create OK, 0 row(s) affected (0.050798s)
3434

35-
taos> CREATE XNODE 'x1:6050' USER root PASS 'taosdata';
35+
taos> CREATE XNODE 'x1:6055' USER root PASS 'taosdata';
3636
Create OK, 0 row(s) affected (0.050798s)
3737
```
3838

0 commit comments

Comments
 (0)