Skip to content

Parsing of show slave status in MySQL 5.7 is failing #7

Closed
@ryuichi1208

Description

@ryuichi1208

What happened?

When I run this plugin on MySQL 5.7, I get the following error when parsing show slave status in fetchShowSlaveStatus().

To reproduce

  • Plugin Version: v1.1.0
  • MySQL Version: 5.7.33
$ ./mackerel-plugin-mysql -host testhost
2023/02/09 13:21:10 OutputValues:  FetchMetrics (Slave Status): sql: expected 57 destination arguments in Scan, not 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions