Skip to content

Commit 8ebc1e3

Browse files
ireneonthewayTomShawn
andauthoredAug 31, 2020
reference/tools: add warning for deprecated loader (pingcap#3747)
* Update loader-overview.md * Update loader-overview.md * Update loader-overview.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
1 parent 6fc9487 commit 8ebc1e3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎loader-overview.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ aliases: ['/docs/dev/loader-overview/','/docs/dev/reference/tools/loader/','/doc
1414

1515
Loader is a data import tool to load data to TiDB.
1616

17-
It can be [downloaded](/download-ecosystem-tools.md) as part of the Enterprise Tools package.
17+
It can be [downloaded](/download-ecosystem-tools.md) as part of the tidb-enterprise-tools package.
1818

1919
## Why did we develop Loader?
2020

@@ -41,7 +41,7 @@ Since tools like mysqldump will take us days to migrate massive amounts of data,
4141
> **Note:**
4242
>
4343
> - Do not import the `mysql` system database from the MySQL instance to the downstream TiDB instance.
44-
> - If Mydumper uses the `-m` parameter, the data is exported without the table structure and the loader can not import the data.
44+
> - If Mydumper uses the `-m` parameter, the data is exported without the table schema and the loader can not import the data.
4545
> - 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.
4646
> - It is recommended to specify the `checkpoint-schema = "tidb_loader"` parameter when importing data.
4747
@@ -123,12 +123,16 @@ max-allowed-packet = 67108864
123123

124124
Command line parameter:
125125

126+
{{< copyable "shell-regular" >}}
127+
126128
```
127129
./bin/loader -d ./test -h 127.0.0.1 -u root -P 4000
128130
```
129131

130132
Or use configuration file "config.toml":
131133

134+
{{< copyable "shell-regular" >}}
135+
132136
```
133137
./bin/loader -c=config.toml
134138
```

0 commit comments

Comments
 (0)
Please sign in to comment.