Error Creating Second Data Source in DM Cluster: 'no mysql source is being handled in the worker'

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

Original topic: DM集群创建第二个数据源报错 ‘no mysql source is being handled in the worker’

| username: TiDBer_zzZPx7Nd

[TiDB Usage Environment]
Production Environment
[TiDB Version]
7.5.1
[Reproduction Path]
Error when creating data source
[Encountered Problem: Problem Phenomenon and Impact]
Error during creation: no mysql source is being handled in the worker


| username: zhaokede | Original post link

Confirm whether your DM configuration file is correct.

| username: zhaokede | Original post link

Check for syntax errors or missing configurations.

| username: TiDBer_zzZPx7Nd | Original post link

The configuration file is in the screenshot. I copied the first successfully created configuration and modified the data source address.

| username: TiDBer_BMMBGarU | Original post link

Solution can be found in the international community: Failed to create upstream datasource

| username: zhaokede | Original post link

After reading the article posted by the user above, the content is roughly:
Reason: It was found that the dm-worker node takes more than 10 seconds to attempt to connect to the upstream MySQL server.
Solution: The issue was resolved by optimizing the connection between dm-worker and MySQL.

| username: 我是吉米哥 | Original post link

Follow up on the subsequent solutions.