A water pipe beneath the intersection of Cummings Avenue and Hamilton Street in the Wollaston section of Quincy burst shortly after 6 a.m.Wednesday, flooding the streets and the basements of some nearby homes.