COOK-4307 Fix for mysqld not restarting when my.cnf changed