State prosecutors have opened an investigation after a mayor was shot dead in Oaxaca, southern Mexico, local authorities said Saturday.