Sync Error

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

Original topic: sync报错

| username: 烂番薯0

After using tidb_lightning to import data, I want to use sync to check, but an error occurs.


What does this mean, everyone?

| username: db_user | Original post link

Could you please show me the configuration file? I feel that the configuration might be incorrect, as it shows that there are no tables to compare. Also, are you comparing MySQL and TiDB?

| username: 烂番薯0 | Original post link

Yes, it’s comparing MySQL and TiDB. Which configuration file are you referring to?

| username: dba-kit | Original post link

It seems like there is an error in your regex. Please share the configuration file for the sync_diff tool.

| username: dba-kit | Original post link

    target-check-tables = ["*.*", "!c.*"]

By default, sync-diff-inspector does not compare any tables. If you want to check all tables, remember to use *.*.

| username: db_user | Original post link

Configuration of sync-diff-inspector