pingcap / tidb-tools

tidb-tools are some useful tool collections for TiDB.
Apache License 2.0
286 stars 191 forks source link

invalid mydumper files for there are no `-schema-create.sql` files found #261

Open onepieceASL opened 5 years ago

onepieceASL commented 5 years ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? dumping data from mysql5.7 and load into tidb

  2. What did you expect to see? all data are dumped into tidb

  3. What did you see instead? invalid mydumper files for there are no -schema-create.sql files found

  4. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)? Release Version: v3.0.0-rc.1-383-g18724b950 Git

  5. which tool are you using? tidb-enterprise-tools

  6. what versionof tool are you using (pump -V or tidb-lightning -V or syncer -V)? tidb-enterprise-tools-latest-linux-amd64.tar.gz

onepieceASL commented 5 years ago

i dump data use ./tidb-enterprise-tools-latest-linux-amd64/bin/mydumper -h 192.168.1.1 -u root -P 3306 -p '123456' -t 10 -F 128 -B test -T test --skip-tz-utc -e -k -c -o ./mydumper and then load it use ./tidb-enterprise-tools-latest-linux-amd64/bin/loader -h 192.168.1.1 -u root -P 4000 -p '123456' -t 30 -checkpoint-schema test -d ./mydumper but an error occurred invalid mydumper files for there are no-schema-create.sqlfiles found