From 444aa229654e6768468a106767fbdcfb97d6298c Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Wed, 8 Feb 2023 13:39:11 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Aolin --- command-line-flags-for-tidb-configuration.md | 2 +- tidb-configuration-file.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/command-line-flags-for-tidb-configuration.md b/command-line-flags-for-tidb-configuration.md index cbc3bffdb9cfd..567b320f1d89a 100644 --- a/command-line-flags-for-tidb-configuration.md +++ b/command-line-flags-for-tidb-configuration.md @@ -60,7 +60,7 @@ When you start the TiDB cluster, you can use command-line options or environment ## `--initialize-sql-file` - The SQL script to be executed when the TiDB cluster is started for the first time. For details, see [configuration item `initialize-sql-file`](/tidb-configuration-file.md#initialize-sql-file-new-in-v660) -- Default: "" +- Default: `""` ## `-L` diff --git a/tidb-configuration-file.md b/tidb-configuration-file.md index b41ca4fc53c30..15a549cbecf9c 100644 --- a/tidb-configuration-file.md +++ b/tidb-configuration-file.md @@ -188,7 +188,7 @@ The TiDB configuration file supports more options than command-line parameters. ### `initialize-sql-file` New in v6.6.0 + Specifies the SQL script to be executed when the TiDB cluster is started for the first time. -+ Default value: "" ++ Default value: `""` + All SQL statements in this script are executed with the highest privilege without any privilege check. If the specified SQL script fails to execute, the TiDB cluster might fail to start. + This configuration item is used to perform such operations as modifying the value of a system variable, creating a user, or granting privileges.