How to Determine the Version of mysqldumper

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 怎么确定mysqldumper的版本

| username: 大钢镚13146

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots / Logs / Monitoring]

I understand that DM is [Dumpling] + [TiDB Lightning] and Dumpling is mydumper. So how can I determine the version of the embedded mydumper?

| username: xiexin | Original post link

DM is TiDB’s data migration tool, full name is Data Migration, used for migrating both full and incremental data.
Dumpling is TiDB’s logical export tool, which is different from mydumper. TiDB also has a modified version of mydumper.
To check the tool’s version, use --version or -V.
For example, to check dumpling’s version: ./dumpling -V

| username: Kongdom | Original post link

Starting from v7.5.0, Mydumper has been deprecated, and most of its functions have been replaced by Dumpling. Note that it is a replacement, not an integration.

This is probably what you’re looking for.
https://docs.pingcap.com/zh/tidb/v4.0/mydumper-overview#如何判断使用的-mydumper-是否为-pingcap-优化的版本
image

If you want to see the Dumpling version, you can check here

image

| username: TIDB-Learner | Original post link

mydumper has been deprecated, use dumpling.

| username: zhanggame1 | Original post link

DM and [Dumpling] + [TiDB Lightning] are unrelated; DM is a migration and synchronization component. Dumpling is a revised version of mydumper, which is now deprecated.

| username: xingzhenxiang | Original post link

mydumper has been deprecated, use dumpling instead. Using mydumper with large amounts of data can cause the TiDB server to run out of memory.

| username: ShawnYan | Original post link

These are two different components. If you are using the new version of TiDB, just forget about mydumper.

| username: andone | Original post link

It is recommended to use dumpling.

| username: wangccsy | Original post link

To check the version of an executable file in Linux, you generally use the parameter -v (or possibly uppercase V), or --version.

| username: dba远航 | Original post link

The original poster’s understanding is somewhat incorrect; mydumper has already been deprecated.