install mysql only if needed
Merge pull request #2055 from fstagni/installMySQL

[v6r12] Install mysql only if needed