Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 上游MySQL5.5同步到下游TIDB失败报错
[TiDB Usage Environment]
Production Environment
[TiDB Version]
v7.1.2
[Reproduction Path] Operations performed that led to the issue
[Encountered Issue: Problem Phenomenon and Impact]
The system environment is CentOS 7.9. My upstream is MySQL Community Edition 5.5.21 master (it also has a slave), and the downstream is TIDB-v7.1.2. Now, using the DM component to use TiDB as a slave, starting the DM task reports an error. dmctl query-status screenshot below
DM-Worker node log below:
Supplement: The permissions of the upstream MySQL replication user dmrpl are shown in the figure below:
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]
MySQL version is too low
System version is too low
Install version 5.4 of TiDB.
Abandon 7.1 and use 5.4? That doesn’t seem appropriate 
I now want to add a 5.6 replica to the upstream 5.5, and then TiDB synchronizing from this 5.6 replica should not report errors, right?
Practice leads to true knowledge~ Take a look.
Judging by the error, it seems to be an issue with the MySQL version. I recommend using MySQL 5.7.
Grammatical errors have nothing to do with permissions…
I suggest trying to downgrade.
MySQL upgrade, either add a replica 5.6 and then add a replica 5.7
5.5 → 5.6 → 5.7
Set up a 5.7 test database yourself and see if it reports any errors.
I set up a 5.6 replica upstream, and then DM can work by using the 5.6 replica as the data source for synchronization. 
The official recommendation is MySQL 5.7. MySQL 5.6 may not be sufficient as there are significant differences.
It seems that there are fewer issues with 5.7.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.