A mild quake with a magnitude of 3.4 had hit West Khasi Hills district of Meghalaya yesterday at around 6 am, they said.