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