Echo mysql root password to a file

Change-Id: Ia955a05c1ee873e5b1981e1ff3cd2fc38ad3e458