From b97db2ff47dd29a8f164519cdac2d2d35d66f6a0 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 20 Jan 2023 14:45:57 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> --- user-account-management.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user-account-management.md b/user-account-management.md index aab3856767ac..c53352651b34 100644 --- a/user-account-management.md +++ b/user-account-management.md @@ -214,12 +214,12 @@ TiDB stores passwords in the `mysql.user` system database. Operations that assig > **Note:** > - > After setting `skip-grant-table`, starting the TiDB process will perform the operating system user check, and only the `root` user of the operating system can start the TiDB process. + > If you set `skip-grant-table` before starting the TiDB process, a check on the operating system user will be initiated. Only the `root` user of the operating system can start the TiDB process. 1. Enter the `scripts` directory under the TiDB node deployment directory. 2. Switch to the `root` account of the operating system. 3. Run the `run_tidb.sh` script in the directory in the foreground. - 4. login as `root` in a new terminal window and change the password. + 4. Log in as `root` in a new terminal window and change the password. ```bash mysql -h 127.0.0.1 -P 4000 -u root