-
Notifications
You must be signed in to change notification settings - Fork 12
PMM-4879 Added support for defaultsfile parameter. #199
base: main
Are you sure you want to change the base?
Conversation
Checked, and it doesn't work
with explicit creds works just fine:
|
Local pmm-manage server need to be rebuild, e.g.:
|
@@ -251,8 +254,9 @@ func init() { | |||
AddMySQLC.Flag("node-id", "Node ID (default is autodetected)").StringVar(&AddMySQL.NodeID) | |||
AddMySQLC.Flag("pmm-agent-id", "The pmm-agent identifier which runs this instance (default is autodetected)").StringVar(&AddMySQL.PMMAgentID) | |||
|
|||
AddMySQLC.Flag("username", "MySQL username").Default("root").StringVar(&AddMySQL.Username) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And for username let's use the same logic as for default address.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed.
This will fail for sure, linter doesnt allow to use replace with forked pmm/api: go.mod:7:1: replacement are not allowed: github.com/percona/pmm (gomoddirectives) |
PMM-4879
Build: SUBMODULES-2465
Build will fail because I cannot use forked version of api (pmm) as dependency in mod.go. To acomplish this, api needs be merged and version of pmm api should be bumped.