Fixing Mysql loop to update root password.