Gainesville is a city located in north-central Florida in the United States .
Gainesville is a city in Alachua County , Florida , United States .