Skip to content

Commit

Permalink
fix create schema step
Browse files Browse the repository at this point in the history
Signed-off-by: yeya24 <[email protected]>
  • Loading branch information
yeya24 committed Mar 6, 2020
1 parent cbcae05 commit c63600a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func genSchema(tidbIP, tidbPort, lightningIP, dbName string) (err error) {
}
var stdOutMsg []byte
// Create schema, including database and table.
if stdOutMsg, _, err = runCmd("ssh", lightningIP, fmt.Sprintf("/tmp/go-tpc tpcc schema -u root -H %s -P %s -D %s", tidbIP, tidbPort, dbName)); err != nil {
if stdOutMsg, _, err = runCmd("ssh", lightningIP, fmt.Sprintf("/tmp/go-tpc tpcc schema -U root -H %s -P %s -D %s", tidbIP, tidbPort, dbName)); err != nil {
return
}
fmt.Printf("%s", stdOutMsg)
Expand Down

0 comments on commit c63600a

Please sign in to comment.