pingcap / dumpling

Dumpling is a fast, easy-to-use tool written by Go for dumping data from the database(MySQL, TiDB...) to local/cloud(S3, GCP...) in multifarious formats(SQL, CSV...).
Apache License 2.0
279 stars 85 forks source link

dumpling database with -B flag failed #403

Open echehee opened 2 years ago

echehee commented 2 years ago

What did you do?

dumpling database using following commmand: tiup dumpling --host -u -p -P -B -o

What did you expect to see?

database being exported

What did you see instead?

Following error message: Error: use tiup install <database> to install component <database> first: component not installed.

If we use --database instead of -B, dumpling commond is executed successfully.

Versions of the cluster

Release version: v5.1.2 Git commit hash: 0d8ccce9feb254494e17b16d56bce8a2fc3e2469 Git branch: heads/refs/tags/v5.1.2 Build timestamp: 2021-09-27 02:47:55Z Go version: go version go1.16.4 linux/amd64

lichunzhu commented 2 years ago

https://github.com/pingcap/dumpling/issues/312 Can this issue help you?