fix : 修正命令 mydumper & myloader -P参数格式 #383
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
myloader -h xxx.xxx.xxx.xxx -P2883 -u 'root@sys#myoceanbase' -p 'xxxxxxxx' -B testdb -s testdb -o -d /data/backup/testdb/
** (myloader:16691): CRITICAL **: 05:16:13.037: option parsing failed: Cannot parse integer value “-u” for -P, try --help
Solution Description
调整 -P 参数格式(-P2883 → -P 2883),避免端口参数解析时误读后续 -u