The Cardinals had a 3-2 lead entering the ninth, but Luis Cruz doubled in a run off of Jason Motte (4-5, 3.11 ERA) to tie it, then Rivera, a pinch-hitter, ended the game off of Motte.
St. Louis led 2-1 after the first inning on a 2-run home run by Allen Craig. The Dodgers tied it in the third on a home run by Mark Ellis, but Craig put the Cardinals back up with an RBI-single in the sixth.
Jaime Garcia pitched 6 innings allowing 2 runs (1 earned) and striking out 5 for St. Louis.
For more coverage of the Cardinals, head over to Viva El Birdos, and for Dodgers news and updates, check out True Blue LA. For all your St. Louis sports news, stay updated at SB Nation St. Louis. Head over to Baseball Nation for more on the Major Leagues.