另外,我遇到了个错误
Error: [Lightning:Restore:ErrCreateSchema]create schema failed, table: xxx
.xxx
, stmt: restore view schema: run create schema job failed: Error 1046: No database selected
####以下是我的lightning配置文件
[lightning]
level = "info"
file = "tidb-lightning.log"
[tikv-importer]
backend = "tidb"
sorted-kv-dir = "/tmp/lightning_tmp"
[mydumper]
data-source-dir = "/tmp/export-20220811-095913"
filter = ['*.*', '!mysql.*', '!sys.*', '!INFORMATION_SCHEMA.*', '!PERFORMANCE_SCHEMA.*', '!METRICS_SCHEMA.*', '!INSPECTION_SCHEMA.*']
[tidb]
host = "10.122.x.x"
port = 4000
user = "xxx"
password = "xxx"
status-port = 10080
pd-addr = "10.122.x.x:2379"
//x 代表敏感信息,sorry