Error Testing TiDB TPC-C

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 测试tidb tpcc报错

| username: zhanggame1

Testing TPC-C, reference test statement:
TiDB TPC-C Performance Comparison Test Report - v5.2.0 vs v5.1.1 | PingCAP Documentation Center

Test command: tiup bench tpcc prepare --warehouses 4 --db tpcc -H 127.0.0.1 -p 4000

| username: hey-hoho | Original post link

Replace -H with the actual IP of the TiDB server and add -U to specify the login username.

Try it this way.

| username: zhanggame1 | Original post link

Got it, thanks. This works:
tiup bench tpcc prepare --warehouses 4 --db test -H 10.0.0.26 -P 4000 -U root -p XXX

| username: linnana | Original post link

Port number P

| username: zhanggame1 | Original post link

All the P’s in the port are written incorrectly.