From 7c3741e7ab89ffa8c4b16f835e09a0ae49ba8276 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Thu, 3 Nov 2022 16:42:00 +0800 Subject: [PATCH] command-line-flags-for-tidb-configuration: Add missing flags (#11132) (#11134) --- command-line-flags-for-tidb-configuration.md | 23 ++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/command-line-flags-for-tidb-configuration.md b/command-line-flags-for-tidb-configuration.md index 7ea0853e636bd..4a41345fe2cb9 100644 --- a/command-line-flags-for-tidb-configuration.md +++ b/command-line-flags-for-tidb-configuration.md @@ -34,6 +34,11 @@ 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 @@ -41,10 +46,15 @@ When you start the TiDB cluster, you can use command-line options or environment - 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` @@ -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. @@ -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: `""` \ No newline at end of file ++ Default: `""`