diff --git a/loader-overview.md b/loader-overview.md index 61591675b8c16..1873f3b9f2137 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 ```