added block to delete pre-existing my.cnf file and added test befor set root pw