pingcap / pingcap/tidb

myloader report "Global metadata file processing was not possible" when import the sql files exported by dumpling

Open
#44,922 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
myloader version : 0.14.5-2

An error is reported when using myloader to import the sql files exported by dumpling . The current workaround is to comment out all the content in the metadata file.
It seems that the metadata file exported by dumpling needs to be compatible.

[root@172-16-120-238 dumptest]# myloader -h xxxxxxx -P xxxx -d xxxx

** (myloader:187498): WARNING **: 15:21:05.098: Failed to load config file //home/tidb/hwtest/dumptest/metadata: Key file contains line “Started dump at: 2023-06-25 14:33:58” which is not a key-value pair, group, or comment

** (myloader:187498): ERROR **: 15:21:05.098: Global metadata file processing was not possible
Trace/breakpoint trap

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.