Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: dumpling 导出数据一直报错

Dumpling keeps reporting errors when exporting data. The error message is as follows:
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: dumpling 导出数据一直报错
Dumpling keeps reporting errors when exporting data. The error message is as follows:
It seems there is an issue with the connection. Have you tried connecting using the MySQL client?
Check if it is a permission issue with the connected account. The permissions required to export data from TiDB/MySQL are:
There is no problem connecting and querying data using the MySQL client.
I have always been using the same export statement, only the time condition has changed.
The link you provided appears to be an image. Please provide the text content from the image so I can translate it for you.
Will there be any issues executing the statement “show index from airport.collect” using the MySQL client?
The image is not visible. Please provide the text you need translated.
Is the version of the dumpling tool consistent with the cluster version?
Is this machine deployed with HA? Can you log in directly via the command line?
How about checking the timeout settings? Could it be that there is too much data within the time range, causing the connection to timeout and close?
The versions are consistent; we have always been using this script.
Use the big guns, Wireshark for packet capture, then start the dumpling command. If it reports an error again, upload the captured packets for us to take a look. Let’s see which IP can’t be connected.
Connection error, could it be the connection driver or version, or is the account incorrect?