You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@siddontang Seconding this as well. I'd prefer to avoid having production DB username/passwords logged in plaintext. Would it be cool to open a PR to add an optional flag to disable this?
https://github.com/siddontang/go-mysql/blob/master/dump/dump.go#L203
args = append(args, fmt.Sprintf("--user=%s", d.User))
args = append(args, fmt.Sprintf("--password=%s", d.Password))
log.Infof("exec mysqldump with %v", args)
would this also send the credentials to the log?
Seem dangerous
The text was updated successfully, but these errors were encountered: