Closed dveeden closed 2 years ago
I don't quite get the problem, do you mean the -tidb-host
argument is not correctly passed to lightning?
yes indeed
On Thu, Jul 15, 2021, 11:22 Allen Zhong @.***> wrote:
I don't quite get the problem, do you mean the -tidb-host argument is not correctly passed to lightning?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pingcap/tiup/issues/1488#issuecomment-880539513, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJWZFGSDEJPIQYVM57MGS3TX2SENANCNFSM5ANCFEBA .
I think it's an issue with cobra
not handling solo dash style long arguments the same way as flag
. We may need to find a way to deal that.
dupe w/ #862
dupe w/ #862
Yes indeed, let's close this one as duplicate.
Use
tiup tidb-lightning -backend=tidb -tidb-host=...
Use the specified host
Usage info
tiup -- tidb-lightning -backend=tidb -tidb-host=...
does work.This might be causing issue if people follow https://docs.pingcap.com/tidbcloud/public-preview/migrate-data-into-tidb#step-2-import-data-to-your-tidb-cluster and use
tiup
instead of manually downloading and updating binaries.This is a copy of https://github.com/pingcap/br/issues/1350 as I can't move issue between repos.