Fixed hardcoded /root in mysql module and add /root/.my.cnf mode 0600

Change-Id: Ie973adb65cf62d688b4e0f4932c55b74ad4280e5
Fixes: rhbz#894733
Merge "Fixed hardcoded /root in mysql module and add /root/.my.cnf mode 0600" into folsom