Skip to content

Commit 6993378

Browse files
committed
update default password from version 2.0.6
1 parent 4671ed5 commit 6993378

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+584
-456
lines changed

src/UserGuide/Master/Table/Tools-System/CLI.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ The CLI client script is located in the `$IOTDB_HOME/sbin` directory. The common
3333
```Bash
3434
Shell> bash sbin/start-cli.sh -sql_dialect table
3535
#or
36+
# Before version V2.0.6.x
3637
Shell> bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
38+
# V2.0.6.x and later versions
39+
Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
3740
```
3841

3942
#### **Windows**
@@ -47,26 +50,29 @@ Shell> sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect tab
4750
# V2.0.4.x and later versions
4851
Shell> sbin\windows\start-cli.bat -sql_dialect table
4952
#or
53+
# V2.0.4.x and later versions, before version V2.0.6.x
5054
Shell> sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect table
55+
# V2.0.6.x and later versions
56+
Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table
5157
```
5258

5359
**Parameter Explanation**
5460

55-
| **Parameter** | **Type** | **Required** | **Description** | **Example** |
56-
| -------------------------- | -------- | ------------ | ------------------------------------------------------------ | ------------------- |
57-
| -h `<host>` | string | No | The IP address of the IoTDB server. (Default: 127.0.0.1) | -h 127.0.0.1 |
58-
| -p `<rpcPort>` | int | No | The RPC port of the IoTDB server. (Default: 6667) | -p 6667 |
59-
| -u `<username>` | string | No | The username to connect to the IoTDB server. (Default: root) | -u root |
60-
| -pw `<password>` | string | No | The password to connect to the IoTDB server. (Default: root) | -pw root |
61-
| -sql_dialect `<sql_dialect>` | string | No | The data model type: tree or table. (Default: tree) | -sql_dialect table |
62-
| -e `<execute>` | string | No | Batch operations in non-interactive mode. | -e "show databases" |
63-
| -c | Flag | No | Required if rpc_thrift_compression_enable=true on the server. | -c |
64-
| -disableISO8601 | Flag | No | If set, timestamps will be displayed as numeric values instead of ISO8601 format. | -disableISO8601 |
65-
| -usessl `<use_ssl>` | Boolean | No | Enable SSL connection | -usessl true |
66-
| -ts `<trust_store>` | string | No | SSL certificate store path | -ts /path/to/truststore |
67-
| -tpw `<trust_store_pwd>` | string | No | SSL certificate store password | -tpw myTrustPassword |
68-
| -timeout `<queryTimeout>` | int | No | Query timeout (seconds). If not set, the server's configuration will be used. | -timeout 30 |
69-
| -help | Flag | No | Displays help information for the CLI tool. | -help |
61+
| **Parameter** | **Type** | **Required** | **Description** | **Example** |
62+
| -------------------------- | -------- | ------------ |---------------------------------------------------------------------------------------------------| ------------------- |
63+
| -h `<host>` | string | No | The IP address of the IoTDB server. (Default: 127.0.0.1) | -h 127.0.0.1 |
64+
| -p `<rpcPort>` | int | No | The RPC port of the IoTDB server. (Default: 6667) | -p 6667 |
65+
| -u `<username>` | string | No | The username to connect to the IoTDB server. (Default: root) | -u root |
66+
| -pw `<password>` | string | No | The password to connect to the IoTDB server. (Default: `TimechoDB@2021`,before V2.0.6 it is root) | -pw root |
67+
| -sql_dialect `<sql_dialect>` | string | No | The data model type: tree or table. (Default: tree) | -sql_dialect table |
68+
| -e `<execute>` | string | No | Batch operations in non-interactive mode. | -e "show databases" |
69+
| -c | Flag | No | Required if rpc_thrift_compression_enable=true on the server. | -c |
70+
| -disableISO8601 | Flag | No | If set, timestamps will be displayed as numeric values instead of ISO8601 format. | -disableISO8601 |
71+
| -usessl `<use_ssl>` | Boolean | No | Enable SSL connection | -usessl true |
72+
| -ts `<trust_store>` | string | No | SSL certificate store path | -ts /path/to/truststore |
73+
| -tpw `<trust_store_pwd>` | string | No | SSL certificate store password | -tpw myTrustPassword |
74+
| -timeout `<queryTimeout>` | int | No | Query timeout (seconds). If not set, the server's configuration will be used. | -timeout 30 |
75+
| -help | Flag | No | Displays help information for the CLI tool. | -help |
7076

7177
The figure below indicates a successful startup:
7278

src/UserGuide/Master/Table/Tools-System/Data-Export-Tool.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ The data export tool `export-data.sh/bat` is located in the `tools` directory an
3434
| `-h` | `--host` | Hostname of the IoTDB server. | No | `127.0.0.1` |
3535
| `-p` | `--port` | Port number of the IoTDB server. | No | `6667` |
3636
| `-u` | `--username` | Username for authentication. | No | `root` |
37-
| `-pw` | `--password` | Password for authentication. | No | `root` |
38-
| `-sql_dialect` | `--sql_dialect` | Select server model : tree or table | No | tree |
39-
| `-db ` | `--database` | The target database to be exported only takes effect when `-sql_dialect` is of the table type.| Yes when `-sql_dialect = table`| -|
40-
| `-table`|`--table` | The target table to be exported only takes effect when `-sql_dialect` is of the table type. If the `-q` parameter is specified, this parameter will not take effect. If the export type is tsfile/sql, this parameter is mandatory.| ​ No | - |
41-
| `-start_time` | `--start_time` |The start time of the data to be exported only takes effect when `-sql_dialect` is of the table type. If `-q` is specified, this parameter will not take effect. The supported time formats are the same as those for the `-tf` parameter.|No | - |
42-
|`-end_time` |`--end_time` | The end time of the data to be exported only takes effect when `-sql_dialect` is set to the table type. If `-q` is specified, this parameter will not take effect.| No | - |
37+
| `-pw` | `--password` | Password for authentication. | No | `TimechoDB@2021`(Before V2.0.6 it is root) |
38+
| `-sql_dialect` | `--sql_dialect` | Select server model : tree or table | No | tree |
39+
| `-db ` | `--database` | The target database to be exported only takes effect when `-sql_dialect` is of the table type.| Yes when `-sql_dialect = table`| - |
40+
| `-table`|`--table` | The target table to be exported only takes effect when `-sql_dialect` is of the table type. If the `-q` parameter is specified, this parameter will not take effect. If the export type is tsfile/sql, this parameter is mandatory.| ​ No | - |
41+
| `-start_time` | `--start_time` |The start time of the data to be exported only takes effect when `-sql_dialect` is of the table type. If `-q` is specified, this parameter will not take effect. The supported time formats are the same as those for the `-tf` parameter.|No | - |
42+
|`-end_time` |`--end_time` | The end time of the data to be exported only takes effect when `-sql_dialect` is set to the table type. If `-q` is specified, this parameter will not take effect.| No | - |
4343
| `-t` | `--target` | Target directory for the output files. If the path does not exist, it will be created. |**Yes** | - |
4444
| `-pfn` | `--prefix_file_name` | Prefix for the exported file names. For example, `abc` will generate files like `abc_0.tsfile`, `abc_1.tsfile`. | No | `dump_0.tsfile` |
4545
| `-q` | `--query` | SQL query command to execute. | No | - |

src/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ IoTDB supports three methods for data import:
4646
| `-h` | `--host` | IoTDB server hostname. | No | `127.0.0.1` |
4747
| `-p` | `--port` | IoTDB server port. | No | `6667` |
4848
| `-u` | `--username` | Username. | No | `root` |
49-
| `-pw` | `--password` | Password. | No | `root` |
49+
| `-pw` | `--password` | Password. | No | `TimechoDB@2021`(Before V2.0.6 it is root) |
5050
|
51-
|`-sql_dialect`|`--sql_dialect`|Select server model : tree or table | No | `tree` |
52-
|` -db `|`--database` |​Target database , applies only to `-sql_dialect=table` |Yes when `-sql_dialect = table` | - |
53-
|`-table` |`--table `|Target table , required for CSV imports in table model | No | - |
51+
|`-sql_dialect`|`--sql_dialect`|Select server model : tree or table | No | `tree` |
52+
|` -db `|`--database` |​Target database , applies only to `-sql_dialect=table` |Yes when `-sql_dialect = table` | - |
53+
|`-table` |`--table `|Target table , required for CSV imports in table model | No | - |
5454
|
5555
| `-s` | `--source` | Local path to the file/directory to import. ​​**Supported formats**​: CSV, SQL, TsFile. Unsupported formats trigger error: `The file name must end with "csv", "sql", or "tsfile"!` |**Yes** | - |
5656
| `-tn` | `--thread_num` | Maximum parallel threads | No | `8` <br> Range: 0 to Integer.Max(2147483647). |

src/UserGuide/Master/Table/Tools-System/Schema-Export-Tool.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@ The schema export tool `export-schema.sh/bat` is located in the `tools` director
2929

3030
### 2.1 Parameter
3131

32-
| **Short Param** | **Full Param** | **Description** | Required | Default |
33-
| ----------------------- | -------------------------- | ------------------------------------------------------------------------ | ------------------------------------- | -------------------------------------------------------- |
34-
| `-h` | `-- host` | Hostname | No | 127.0.0.1 |
35-
| `-p` | `--port` | Port number | No | 6667 |
36-
| `-u` | `--username` | Username | No | root |
37-
| `-pw` | `--password` | Password | No | root |
38-
| `-sql_dialect` | `--sql_dialect` | Specifies whether the server uses`tree `model or`table `model | No | tree |
39-
| `-db` | `--database` | Target database to export (only applies when`-sql_dialect=table`) | Required if`-sql_dialect=table` | - |
40-
| `-table` | `--table` | Target table to export (only applies when`-sql_dialect=table`) | No | - |
41-
| `-t` | `--target` | Output directory (created if it doesn't exist) | Yes | |
42-
| `-path` | `--path_pattern` | Path pattern for metadata export | Required if`-sql_dialect=tree` | |
43-
| `-pfn` | `--prefix_file_name` | Output filename prefix | No | `dump_dbname.sql` |
44-
| `-lpf` | `--lines_per_file` | Maximum lines per dump file (only applies when`-sql_dialect=tree`) | No | `10000` |
32+
| **Short Param** | **Full Param** | **Description** | Required | Default |
33+
| ----------------------- | -------------------------- | ------------------------------------------------------------------------ | ------------------------------------- |-----------------------------------------------|
34+
| `-h` | `-- host` | Hostname | No | 127.0.0.1 |
35+
| `-p` | `--port` | Port number | No | 6667 |
36+
| `-u` | `--username` | Username | No | root |
37+
| `-pw` | `--password` | Password | No | `TimechoDB@2021`(Before V2.0.6 it is root) |
38+
| `-sql_dialect` | `--sql_dialect` | Specifies whether the server uses`tree `model or`table `model | No | tree |
39+
| `-db` | `--database` | Target database to export (only applies when`-sql_dialect=table`) | Required if`-sql_dialect=table` | - |
40+
| `-table` | `--table` | Target table to export (only applies when`-sql_dialect=table`) | No | - |
41+
| `-t` | `--target` | Output directory (created if it doesn't exist) | Yes | |
42+
| `-path` | `--path_pattern` | Path pattern for metadata export | Required if`-sql_dialect=tree` | |
43+
| `-pfn` | `--prefix_file_name` | Output filename prefix | No | `dump_dbname.sql` |
44+
| `-lpf` | `--lines_per_file` | Maximum lines per dump file (only applies when`-sql_dialect=tree`) | No | `10000` |
4545
| `-timeout` | `--query_timeout` | Query timeout in milliseconds (`-1`= no timeout) | No | -1Range:`-1 to Long. max=9223372036854775807` |
46-
| `-help` | `--help` | Display help information | No | |
46+
| `-help` | `--help` | Display help information | No | |
4747

4848
### 2.2 Command
4949

0 commit comments

Comments
 (0)