MySQL integration error "commands out of sync"

any hint what can cause this error?

level=error msg="Integration command failed" error="exit status 2" instance=sql1 integration=com.newrelic.mysql prefix=config/mysql stderr="[FATAL] can't continue: commands out of sync. Did you run multiple statements at once?\npanic: commands out of sync. Did you run multiple statements at o
nce?\n\ngoroutine 1 [running]:\ngithub.com/newrelic/nri-mysql/vendor/github.com/newrelic/infra-integrations-sdk/log.Fatal(0x781b00, 0xc420096600)\n\t/data/jenkins/infra-integrations-nri-mysql-release-linux-package-2/go/src/github.com/newrelic/nri-mysql/vendor/github.com/newrelic/infra-integrations-sdk/log/log.go:107 +0xd5\nmain.fatalIfErr(0
x781b00, 0xc420096600)\n\t/data/jenkins/infra-integrations-nri-mysql-release-linux-package-2/go/src/github.com/newrelic/nri-mysql/src/mysql.go:133 +0x44\nmain.main()\n\t/data/jenkins/infra-integrations-nri-mysql-release-linux-package-2/go/src/github.com/newrelic/nri-mysql/src/mysql.go:96 +0x26d\n" working-dir=/var/db/newrelic-infra/newrelic
-integrations