Added check to remove mysql data directories