Dumpling Connection Freezes When Exporting Data from MySQL8

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

Original topic: Dumpling连MySQL8导出数据时连接卡死

| username: caiyoubiao

【TiDB Usage Environment】Production Environment
【TiDB Version】v5.4.3
【Reproduction Path】
MySQL version 8.0.18 (more than 6000 tables), database running normally.

    1. The mysql command line client gets stuck when connecting, suggesting to add the -A parameter

【Encountered Problem: Problem Phenomenon and Impact】
Dumpling gets stuck and times out when connecting to MySQL, causing data export failure. Does Dumpling have a similar -A parameter option?

| username: Jiawei | Original post link

Why not just write this parameter into the configuration file?
We usually have this parameter in the configuration file.

| username: Jiawei | Original post link

It is the configuration file of MySQL.

| username: caiyoubiao | Original post link

Because it is an online database, it is not very convenient to change the configuration and restart.

| username: caiyoubiao | Original post link

The problem should also be solvable by modifying MySQL’s configuration:

| username: Jiawei | Original post link

I don’t think it works. You can check the dumpling documentation to see if there’s a solution for the hash issue. I think this just modifies your command. Give it a try and let us know the result. Normally, the no-auto-rehash option should be written into the database configuration file; otherwise, when there are many tables, the initial loading will be very slow.

| username: caiyoubiao | Original post link

I checked the Dumpling documentation and did not find a similar parameter. It seems the best solution is to add this parameter configuration on the MySQL side. Thank you very much for your suggestion.

| username: Jiawei | Original post link

You can also make a suggestion to the official team, asking them to add the -A parameter to Dumpling.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.