Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加使用用户名密码命令案例 #19915

Open
studywellnow opened this issue Feb 26, 2025 · 0 comments
Open

增加使用用户名密码命令案例 #19915

studywellnow opened this issue Feb 26, 2025 · 0 comments

Comments

@studywellnow
Copy link

File: /release-8.5/tiup/tiup-bench.md

在该文档中,使用默认命令示例初始化数据,有一定误导性。
初学者一度纠结在为啥报错信息提示“ oading data”
报错日志如下:
``# tiup bench tpcc --warehouses 4 --parts 4 prepare
Checking updates for component bench... Timedout (after 2s)
Starting component bench: /root/.tiup/components/bench/v1.12.0/tiup-bench tpcc --warehouses 4 --parts 4 prepare
panic: failed to connect to database when loading data

建议增加必要元素的命令示例,如用户名、密码、主机、端口等;
如:
`# tiup bench tpcc -H192.168.169.31 -P4000 -D tpcc -Uroot -ptidb --warehouses 4 --parts 4 prepare`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant