As a PMM User I need to specify socket for mysql to be used in pmm-admin add command so that PMM uses a socket instead of port
pmm-admin add mysql .... --socket=....
Out Of Scope:
- web UI is not needed for remote instances
- Config file and reading socket from it will be implemented in
Currently, it is not possible to add mysql instance using UNIX socket option in PMM2.
It would be good to have --socket option in PMM2 as we have in PMM1 to add mysql instance using UNIX socket.
--socket flag should be string flag and should contain only path to socket without username, password and network type.
pmm-admin add mysql and pmm-admin inventory add service mysql commands with --socket flag.
Value of --socket flag should be sent to API.