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

Socket detection and MySQL 8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 1.12.0
    • Fix Version/s: 1.13.0
    • Component/s: None
    • Labels:

      Description

      1. I installed MySQL 8
      2. Checked that there is no any mention about socket in my.cnf file
      3. When I installed last PMM server and pmm-client (builds from 2018-0618) 1.12
      4. Tried to add MySQL metrics:
        [nailya.kutlubaeva@bm-qanqa04 ~]$ sudo pmm-admin add mysql --query-source=perfschema --user=root --password='qwertyUIOP)(*&^%$#@1' --create-user --force
        [linux:metrics] OK, now monitoring this system.
        [mysql] 2018/06/19 17:15:47 packets.go:36: unexpected EOF
        [mysql] 2018/06/19 17:16:17 packets.go:36: unexpected EOF
        [mysql] 2018/06/19 17:16:47 packets.go:36: unexpected EOF
        [mysql:metrics] Cannot connect to MySQL: driver: bad connection
        
        Verify that MySQL user exists and has the correct privileges.
        Use additional flags --user, --password, --host, --port, --socket if needed.
        

        If I specify socket it works great

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nailya.kutlubaeva Nailya Kutlubaeva
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 7 hours, 30 minutes
                  1w 7h 30m