Film about a school kid bullied mother comes in class with a knife to the pupils

Hi all, I can not for the life of me remember this film, I’ve tried IMDB and other places, this is my last hope !

As said in the title theres a certain scene where the school boy tries to hang himself in his room but it fails and the light comes down. The next day the mother goes into his class and has a cake with a knife and threatens the pupils.

It’s at least 10 years old, I’d say the 90’s. For some reason I have an image with a pig mask aswell in the film.

Please help!

Thank you.

Got something to say?