Patches for check_mysql: Support for custom my.cnf [sf#1901262] [#887]