Skip to content

Commit

Permalink
command-line-flags-for-tidb-configuration: Add missing flags (#11132) (
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Nov 3, 2022
1 parent 9275224 commit 7c3741e
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions command-line-flags-for-tidb-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,27 @@ When you start the TiDB cluster, you can use command-line options or environment
- Specifies the `Access-Control-Allow-Origin` value for Cross-Origin Request Sharing (CORS) request of the TiDB HTTP status service
- Default: `""`

## `--enable-binlog`

+ Enables or disables TiDB binlog generation
+ Default: `false`

## `--host`

- The host address that the TiDB server monitors
- Default: `"0.0.0.0"`
- The TiDB server monitors this address.
- The `"0.0.0.0"` address monitors all network cards by default. If you have multiple network cards, specify the network card that provides service, such as `192.168.100.113`.

## `--enable-binlog`
## `--initialize-insecure`

+ Enables or disables TiDB binlog generation
+ Default: `false`
- Bootstraps tidb-server in insecure mode
- Default: `true`

## `--initialize-secure`

- Bootstraps tidb-server in secure mode
- Default: `false`

## `-L`

Expand Down Expand Up @@ -161,6 +171,11 @@ When you start the TiDB cluster, you can use command-line options or environment
- Default: `"unistore"`
- You can choose "unistore" or "tikv". ("unistore" is the local storage engine; "tikv" is a distributed storage engine)

## `--temp-dir`

- The temporary directory of TiDB
- Default: `"/tmp/tidb"`

## `--token-limit`

- The number of sessions allowed to run concurrently in TiDB. It is used for traffic control.
Expand Down Expand Up @@ -195,4 +210,4 @@ When you start the TiDB cluster, you can use command-line options or environment
## `--repair-list`

+ The names of the tables to be repaired in the repair mode.
+ Default: `""`
+ Default: `""`

0 comments on commit 7c3741e

Please sign in to comment.