tiup
tiup copied to clipboard
The cmd line msg incorrect when using ipv6 to create a playground cluster
Bug Report
Please answer these questions before submitting your issue. Thanks!
- What did you do?
tiup playground nightly --db 1 --kv 1 --tiflash 0 --without-monitor --host 240e:390:98f:c940:2d8:61ff:fe14:d38f
- What did you expect to see?
Connect TiDB: mysql --host 240e:390:98f:c940:2d8:61ff:fe14:d38f --port 4000 -u root
- What did you see instead?
Connect TiDB: mysql --host [240e --port 390 -u root
- What version of TiUP are you using (
tiup --version)?
➜ tidb git:(master) ✗ tiup playground --version
tiup is checking updates for component playground ...
Starting component `playground`: /home/jasonmo/.tiup/components/playground/v1.12.1/tiup-playground --version
tiup version 1.12.1 tiup
Go Version: go1.19.8
Git Ref: v1.12.1
GitHash: f4dae709fa3e904958f3433b617a6bc4bd9049a3