I don't like this. You're hardcoding a possibly wrong version number on the assumption that it will only be used in my.cnf, but there's no way to know that someone won't start using it somewhere else in the future.