The state broadcaster China Central Television reported that the attack in Kaiyuan City, Liaoning Province also injured seven people.
Kaiyuan City Public Security Bureau said in a statement that a suspect named Yang has been arrested and the police are investigating the case.
The police did not mention the motive of the attack, nor did they mention the details of the suspect or casualties. CCTV reported that a police officer who helped subdue the suspect was among the injured.
A video posted by the state-run Beijing News on Chinese social media showed two police officers confronting the suspect and taking him to the ground, one of them holding a broom.
In China, knife attacks in public are not uncommon.
In June, 37 children and two adults were injured by a knife attacker in an elementary school in southern Guangxi.
In October 201
8, a woman with a kitchen knife cut down at least 14 children in a kindergarten in central Chongqing.
In April 2018, nine students were killed by a 28-year-old man in a middle school in Shaanxi Province and later sentenced to death.
In 2017, a man used a knife to climb the wall of the kindergarten and began to attack them, injuring 11 students.
However, the most serious stabbing incident may have occurred in 2010, including three consecutive days of attackers targeting the school. To this end, the Ministry of Education of China ordered schools to strengthen security protection and prohibit strangers from entering the campus.