Werk #16237: Path to mysql.ini under Windows for mk_sql

Component Checks & agents
Title Path to mysql.ini under Windows for mk_sql
Date Feb 23, 2024
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p43 2.2.0p26 2.3.0b1 2.4.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

If you've been using mysql and the corresponding agent plugin mk_sql under Windows, the plugin may have crashed and the agent output would then show the following error:

mysqladmin: File '\etc\check_mk\mysql.local.ini' not found (OS errno 2 - No such file or directory)
mysqladmin: [ERROR] Stopped processing the 'include' directive in file C:\ProgramData\checkmk\agent\config\mysql.ini at line 8.

Under Windows, the plugin config path C:\ProgramData\checkmk\agent\config is now used.

In contrast to the corresponding Linux plugin mk_mysql, the config path under Windows cannot be changed.

To the list of all Werks