Attorney General Eliot Spitzer raised $ 6.2 million in the first half of 2005 for his campaign to become governor of New York , intensifying his fund-raising in advance of the 2006 Democratic primary .