TiDB DM Synchronization Error

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

Original topic: tidb DM 同步报错

| username: love-cat

【TiDB Usage Environment】Production Environment
【TiDB Version】v5.2.2
【Reproduction Path】Synchronization from MySQL to TiDB via DM
【Encountered Issues: Problem Phenomenon and Impact】

【Resource Configuration】
【Attachments: Screenshots/Logs/Monitoring】

| username: 啦啦啦啦啦 | Original post link

I remember that foreign keys were only supported after version 6.6, right?

| username: yulei7633 | Original post link

What version of MySQL is it?

| username: love-cat | Original post link

MySQL 5.7

| username: 大飞哥online | Original post link

Either upgrade the version or don’t use it.

| username: love-cat | Original post link

Okay, thank you.

| username: love-cat | Original post link

Okay, thank you.

| username: yulei7633 | Original post link

There are no issues with version 5.7. It should be caused by foreign keys.