From 5ff4e8c4f77f123e923c7447e8b4d563d9c591aa Mon Sep 17 00:00:00 2001 From: ireneontheway Date: Thu, 27 Aug 2020 12:18:12 +0800 Subject: [PATCH 1/3] Update loader-overview.md --- loader-overview.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/loader-overview.md b/loader-overview.md index 558c2c73995b5..8c2f66c68806c 100644 --- a/loader-overview.md +++ b/loader-overview.md @@ -14,7 +14,7 @@ aliases: ['/docs/dev/loader-overview/','/docs/dev/reference/tools/loader/','/doc Loader is a data import tool to load data to TiDB. -It can be [downloaded](/download-ecosystem-tools.md) as part of the Enterprise Tools package. +It can be [downloaded](/download-ecosystem-tools.md) as part of the tidb-enterprise-tools package. ## Why did we develop Loader? @@ -41,7 +41,7 @@ Since tools like mysqldump will take us days to migrate massive amounts of data, > **Note:** > > - Do not import the `mysql` system database from the MySQL instance to the downstream TiDB instance. -> - If Mydumper uses the `-m` parameter, the data is exported without the table structure and the loader can not import the data. +> - If Mydumper uses the `-m` parameter, the data is exported without the table schema and the loader can not import the data. > - If you use the default `checkpoint-schema` parameter, after importing the data of a database, run `drop database tidb_loader` before you begin to import the next database. > - It is recommended to specify the `checkpoint-schema = "tidb_loader"` parameter when importing data. @@ -123,12 +123,16 @@ max-allowed-packet = 67108864 Command line parameter: +{{< copyable "shell-regular" >}} + ``` ./bin/loader -d ./test -h 127.0.0.1 -u root -P 4000 ``` Or use configuration file "config.toml": +{{< copyable "shell-regular" >}} + ``` ./bin/loader -c=config.toml ``` From 73597ca80f82b2561b3770d0311ee79902a229d5 Mon Sep 17 00:00:00 2001 From: ireneontheway Date: Thu, 27 Aug 2020 12:21:35 +0800 Subject: [PATCH 2/3] Update loader-overview.md --- loader-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader-overview.md b/loader-overview.md index 8c2f66c68806c..b40086cd9db2b 100644 --- a/loader-overview.md +++ b/loader-overview.md @@ -1,7 +1,7 @@ --- title: Loader Instructions summary: Use Loader to load data to TiDB. -aliases: ['/docs/dev/loader-overview/','/docs/dev/reference/tools/loader/','/docs/dev/load-misuse-handling/','/docs/dev/reference/tools/error-case-handling/load-misuse-handling/','/tidb/dev/load-misuse-handling'] +aliases: ['/docs/stable/loader-overview/','/docs/v4.0/loader-overview/','/docs/stable/reference/tools/loader/','/docs/stable/load-misuse-handling/','/docs/v4.0/load-misuse-handling/','/docs/stable/reference/tools/error-case-handling/load-misuse-handling/','/tidb/stable/load-misuse-handling'] --- # Loader Instructions From 16e1fa3378a3a28b80e8781171a83a79ee80cbb5 Mon Sep 17 00:00:00 2001 From: ireneontheway Date: Thu, 27 Aug 2020 13:15:55 +0800 Subject: [PATCH 3/3] Update loader-overview.md --- loader-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader-overview.md b/loader-overview.md index b40086cd9db2b..8c2f66c68806c 100644 --- a/loader-overview.md +++ b/loader-overview.md @@ -1,7 +1,7 @@ --- title: Loader Instructions summary: Use Loader to load data to TiDB. -aliases: ['/docs/stable/loader-overview/','/docs/v4.0/loader-overview/','/docs/stable/reference/tools/loader/','/docs/stable/load-misuse-handling/','/docs/v4.0/load-misuse-handling/','/docs/stable/reference/tools/error-case-handling/load-misuse-handling/','/tidb/stable/load-misuse-handling'] +aliases: ['/docs/dev/loader-overview/','/docs/dev/reference/tools/loader/','/docs/dev/load-misuse-handling/','/docs/dev/reference/tools/error-case-handling/load-misuse-handling/','/tidb/dev/load-misuse-handling'] --- # Loader Instructions