Seven other people were also injured in the attack in the city of Kaiyuan, in Liaoning province, state broadcaster CCTV reported.
A single suspect with the first name Yang has been arrested and police are investigating the case, the Kaiyuan Municipal Public Safety Bureau said in a statement.
Police did not name the motive for the attack or details about the suspect or the casualties. CCTV reported that a police officer who assisted the suspect was among the injured.
A video posted by the state-run Beijing News on Chinese social media showed two police officers – one of them with a broom – confronting the suspect and grabbing him to the ground.
Knife attacks in public are not uncommon in China.
In June, 37 children and two adults were injured by a knife attacker at a primary school in the southwestern Guangxi region.
In October 2018, a woman with a kitchen knife cut at least 14 children at a nursery school in central Chongqing city.
Nine students were killed in April 2018 at a high school in Shaanxi province by a 28-year-old man who was later sentenced to death.
In 2017, 11 students were injured after a man climbed over the wall of a kindergarten with a knife and started attacking.
But perhaps the worst spate of stabbings took place in 2010, which includes a period of three consecutive days in which attackers targeted schools. The Chinese Ministry of Education has responded to these events by ordering schools to step up security and ban foreigners from entering campuses.