Officials say a train accident in southern Mexico injured at least 15 people and halted traffic along a rail line connecting the Pacific Ocean with the Gulf of Mexico.