South Africa's defeat meant they had lost their first two matches of this World Cup following their 104-run thrashing by England in Thursday's tournament opener at the Oval. "The job has just started". "It will be one of our top wins", said player of the match Shakib.
If South Africa do chase this down, it would be their highest-ever chase in a World Cup match.
South Africa had gambled on putting Bangladesh, four places below them in the ODI rankings, into bat and hoping to bounce them out cheaply with their pace attack but that fell flat on a docile wicket, and was exacerbated by a hamstring injury to Lungi Ngidi.
Hashim Amla didn't play as a precaution after being hit on the helmet against England, but is expected to face India on Wednesday, when Dale Steyn should also make his first appearance of the tournament but in another depleted attack.
Bangladesh have no such concerns after launching their campaign in style on the back of their biggest World Cup partnership of 142 by Mushfiqur Rahim (78) and Shakib (75), one of the world's best allrounders for more than a decade. In counterattacking short balls from Ngidi and Kagiso Rabada, Soumya Sarkar was streaky with pulls and hooks.
The previous highest total for Bangladesh in an ODI was against Pakistan - 329, which came in 2015.
The captain had looked in total control until drawn into a false shot by Mehidy's smart bowling and captain Mashrafe Mortaza bringing up long off to mid off as a tempter. They didn't seriously threaten.
Bangladesh captain Mashrafe believes the Tigers are still seen as minnows by most of the cricket world, but he claims they are now strong enough that wins over teams such as South Africa shouldn't be seen as an upset anymore.
The Proteas' decision to bowl backfired spectacularly as Bangladesh reached 2-190 after 30 overs, with Shakib and Mushfiqur comfortable in their century stand.
"We're a proud sporting nation".
"Nothing went to plan and I feel we are firing at only 50 to 60 per cent of our potential", du Plessis said.
"The opening bowlers would be the first to say we didn't execute our skills today". Quinton de Kock and Rassie van der Dussen looked the most comfortable on the crease in the last game and the onus would be on them, along with skipper Faf du Plessis, to put runs on the board.
However, Miller's luck ran out when he was caught by Mehidy off Mustafizur for 38 to leave the Proteas in disarray.