pingcap / pingcap/tidb

Add configuration file to Dumpling

Open
#61,041 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
Most other utilities have a possibility to use a configuration file, instead of having to use command line arguments for all the different configuration options.

It also would allow to avoid using the MySQL password on the command line for dumpling, which is not considered to be safe!

Since both `-f` and `-c` is already used, I propose `--config` which is consistent with other tools, like tidb-lightning and tidb-server (`-config`).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.