File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
en/14-reference/03-taos-sql
zh/14-reference/03-taos-sql Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff 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 " ;
3333Create 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' ;
3636Create OK, 0 row(s) affected (0 .050798s)
3737```
3838
Original file line number Diff line number Diff 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 " ;
3333Create 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' ;
3636Create OK, 0 row(s) affected (0 .050798s)
3737```
3838
You can’t perform that action at this time.
0 commit comments