Refactoring mysql install recipe.