Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-5272

pmm-admin has a new socket option (--socket) that lets you specify what UNIX socket number is used to connect to MySQL instances for when you don't want to use a port number.

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.5.0
    • Component/s: PMM Admin
    • Labels:
    • Story Points:
      2
    • Epic Link:
    • Sprint:
      Platform Sprint 13
    • Needs Review:
      Yes
    • Needs QA:
      Yes
    • Needs Doc:
      Yes

      Description

      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

      Use case:

      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 PMM-5011
      • API
        -----------

      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 --socket=/var/path/to/mysql/socket
      

      DOD:

      pmm-admin add mysql and pmm-admin inventory add service mysql commands with --socket flag.
      Value of --socket flag should be sent to API.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              alexey.palazhchenko Alexey Palazhchenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 6 hours, 10 minutes
                  6h 10m

                    Smart Checklist