Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command-line-flags-for-tidb-configuration: Add missing flags (#11132) #11134

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: `""`