When importing data with tidb-lightning, the data structure is imported but no data is present

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

Original topic: tidb-lightning导入数据时,到导入了数据结构没有数据

| username: xiaoxiaozuofang

When importing data with tidb-lightning, the data structure is imported but there is no data: tidb-lightning-v6.1.0

| username: xfworld | Original post link

Is there an operation log?

| username: banana_jian | Original post link

Did you export the data during the dump backup?
How is the lightning file defined?
Are there any logs?

| username: xiaoxiaozuofang | Original post link

./dumpling -u root -P 4000 -h 127.0.0.1 -p **** --filetype sql -t 8 -o /home/jydata_20220715/ -r 200000 -F256MiB

| username: xiaoxiaozuofang | Original post link

tidb-lightning.log log

| username: xiaoxiaozuofang | Original post link

| username: xfworld | Original post link

Is this all the logs?

| username: wakaka | Original post link

You can manually execute the exported data SQL file to see what errors are reported.

| username: banana_jian | Original post link

Did the table exist before the import? Was there any data? Can you show the frontend output of the lightning command?

| username: Tank001 | Original post link

There isn’t much stuff, it doesn’t look good. :sweat_smile:

| username: buchuitoudegou | Original post link

What does this sentence mean…