Mk_mysql plugin simply ignores my mysql.cfg

This means that someone reads the file.

What happens if you run the following code as user root? Does it show some output or does it complain?

export MK_CONFDIR=/etc/check_mk
mysql --defaults-extra-file="$MK_CONFDIR"/mysql.cfg -sN \
     -e "show global status ; show global variables ;"

This is one of the commands the mysql plugin issues.

1 Like