Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: lightning工具导入报错 missing {schema}-schema-create.sql
When using the lightning tool to import data, an error occurs [ERROR] [lightning.go:255] [“load data source failed”] [takeTime=407.783µs] [error=“missing {schema}-schema-create.sql”]
【TiDB Usage Environment】Production/Test Environment/POC
【TiDB Version】
【Problem Encountered】
【Reproduction Path】
What operations were performed to cause the problem
【Problem Phenomenon and Impact】
【Attachments】
- Relevant logs, configuration files, Grafana monitoring (https://metricstool.pingcap.com/)
- TiUP Cluster Display information
- TiUP Cluster Edit config information
- TiDB-Overview monitoring
- Corresponding module’s Grafana monitoring (if any, such as BR, TiDB-binlog, TiCDC, etc.)
- Corresponding module logs (including logs from 1 hour before and after the issue)
If the question is related to performance optimization or troubleshooting, please download the script and run it. Please select all and copy-paste the terminal output results for upload.