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 |
|
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
.exeextension (e.g.mysqldinstead ofmysqld.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
mysqldprefix, such asmysqldump - Lack of binary: instead of producing no output silently, the plugin now emits a visible error message so the problem can be diagnosed