Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #19194: Windows MySQL plugin: fix mysql.exe binary detection for non-default installations

Component Agent bakery
Title Windows MySQL plugin: fix mysql.exe binary detection for non-default installations
Date Mar 31, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.6.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.5.0b4
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.4.0p26
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

The Windows MySQL agent plugin (mk_mysql.ps1) failed to locate the mysql.exe client binary when MySQL was installed to a non-default path or registered its service without the .exe extension on the daemon binary.

The following problems have been fixed:

  • Service binary registered without .exe extension (e.g. mysqld instead of mysqld.exe)
  • Unquoted installation paths fix: the path extraction regex no longer greedily captures trailing command-line arguments as part of the binary path
  • No longer incorrectly matches names that share the mysqld prefix, such as mysqldump
  • Lack of binary: instead of producing no output silently, the plugin now emits a visible error message so the problem can be diagnosed

To the list of all Werks