Skip to content

Commit

Permalink
Adds -tidb-password cli flag in tidb-lightning config
Browse files Browse the repository at this point in the history
  • Loading branch information
jlerche committed Feb 4, 2020
1 parent 51a4ca1 commit a114ce8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev/reference/tools/tidb-lightning/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ min-available-ratio = 0.05
| --tidb-port *port* | TiDB server port (default = 4000) | `tidb.port` |
| --tidb-status *port* | TiDB status port (default = 10080) | `tidb.status-port` |
| --tidb-user *user* | User name to connect to TiDB | `tidb.user` |
| --tidb-password *password* | Password to connect to TiDB | `tidb.password` |

If a command line parameter and the corresponding setting in the configuration file are both provided, the command line parameter will be used. For example, running `./tidb-lightning -L debug --config cfg.toml` would always set the log level to "debug" regardless of the content of `cfg.toml`.

Expand Down

0 comments on commit a114ce8

Please sign in to comment.