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

The error message explains better when using the --socket option incorrectly.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.6.0
    • Component/s: PMM Admin
    • Labels:
    • Story Points:
      1
    • Sprint:
      Platform Sprint 14
    • Needs Review:
      Yes
    • Needs QA:
      Yes

      Description

      STR:

      1. Try to add MySQL with specifying socket and port:
        [ec2-user@ip-10-178-2-129 ~]$ pmm-admin add mysql --cluster=pxc --username=root --socket=--socket=/tmp/PXC_NODE_3.sock --port=1722  PXC_3 

        Given result:

        both socket and address are passed

        The same error message is returned while using both socket and address
        Expected result:

         Both socket and port cannot be specified

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              nailya.kutlubaeva Nailya Kutlubaeva
              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 - 1 day, 3 hours, 5 minutes
                  1d 3h 5m

                    Smart Checklist