Wayne Williams, of Sefton Drive, Bomere Heath, was sentenced at Stafford Crown Court today after pleading guilty to the attempted murder of partner Louise Robinson and wounding with intent to cause grievous bodily harm to his mother Elizabeth Williams.
The attacks happened at the home of Mrs Williams in the village near Shrewsbury, where all three lived, on March 8.
The court heard that Mr Williams was going though a "major depressive episode" but could not explain why his depression had turned violent when he decided to get a knife from the kitchen and stab his partner of two years in the stomach after an argument.
Ms Robinson struggled with Williams and got the knife off him before leaving the house to raise the alarm at the Co-operative store nearby.
But Mr Williams then got a baseball bat and hit his mother around the head as she discovered the scene and confronted him.
He then went into the kitchen where police discovered him with self inflicted injuries.
Both of Williams' victims suffered serious wounds in the attack but they were not life-threatening.
Williams, 54, who appeared by video link from prison, continued to have nightmares about what he had done, the court heard.
Judge Michael Chambers said both his mother and partner had shown "impressive" compassion towards Williams.
He said while in custody Williams had recovered enough to need "little or no" psychiatric care in the future.
He sentenced Williams to eight years in prison for the attempted murder and five for the grievous bodily harm, to run concurrent.