SAN FRANCISCO (AP) -- Three Cardinals pitchers fell a single short of the cycle.
Adam Wainwright homered in his first major-league at-bat and pitched three innings of relief to earn the win for St. Louis in a 10-4 victory over the San Francisco Giants on Wednesday, when Barry Bonds took the day off.
Albert Pujols singled twice but stayed at 23 home runs a day after hitting a three-run shot for his fourth homer in five games for the Cardinals.
Slap-hitting outfielder So Taguchi provided the power for St. Louis with a solo homer in the ninth and three RBI. Yadier Molina hit a tying RBI single in the sixth and drew a bases-loaded walk the following inning.
Wainwright (2-1), who had taken no batting practice since spring training, hit the first pitch he saw out to left in the fifth for a solo homer. On the mound, the right-hander allowed four hits and two runs, struck out one and didn't walk a batter.
"I think that's just a lucky day," Wainwright said of the pitchers' hitting success. "Everything was going our way. I wasn't thinking anything ... then I thought, 'Oh my goodness, I just hit a home run.'"
"They almost hit for the cycle, the pitchers," Giants manager Felipe Alou said. "They surprised everybody."
Cy Young winner Chris Carpenter was scratched before the game by St. Louis with swelling in the right side of his upper back near the shoulder blade. Right-handed reliever Brad Thompson made a fill-in start for the Cardinals, his first career outing as a starter.
"It's huge," manager Tony La Russa said of his pitchers. "Chris missed a start. That's not good news, but the guys responded."
Thompson worked only two innings, and Marquis hit a pinch-hit triple in his spot to start the third inning. David Eckstein's RBI single moments later scored Marquis to tie the game at 2.
"If a position player caught us in the cage it would be an eye wash," Wainwright said.
Omar Vizquel had an RBI triple and Mark Sweeney doubled in a run, but the Giants dropped the series after winning their previous two sets by sweeping the defending NL champion Astros last week in Houston and taking two of three from Oakland in an interleague series.
Bonds had the day off after starting 13 of the last 14 games and five straight. His home fans are still waiting to see his next milestone home run -- 715.
"I think he's going to hit a lot more in the next 20 games," Alou said. "He's swinging the bat well and becoming the hitter I expected him to be. He needs at-bats. The homers will happen when he won't even be trying."
Bonds will resume his pursuit to pass Babe Ruth and move into sole possession of second place on the career home run list Friday night against the Colorado Rockies. The slugger is expected to play all three games of the weekend series before the Giants leave town for another week, at Florida and New York.
"No Barry Bonds today to start the game," Alou said before even hearing a question during his pregame session with the media. "This morning we talked. He'd rather rest."
The Cardinals bounced back from a 9-2 loss in the series opener Monday night to take the final two games and win their sixth straight series.
They tied it at 4 on Molina's single to left in the sixth. The hit followed a throwing error by San Francisco starter Noah Lowry
(1-2), who tried to pick off Hector Luna on his attempt to steal second but instead made a high throw that sailed well above second baseman Ray Durham's head.
"It wasn't just the throw to second for me today," Lowry said. "There wasn't much I did right today. I single-handedly cost us the game today."
Taguchi followed with a go-ahead sacrifice fly to left and also singled in a run as St. Louis batted around in the seventh. Juan Encarnacion had a run-scoring single in the inning for his fifth RBI of the series.
Lowry, who missed time with a strained muscle in his right side and made only his fifth start, allowed 10 hits and three earned runs, struck out one and walked three in six innings.
"He was wild, out of the blue, out of nowhere," Alou said.
Dan Ortmeier made his first start of the season for the Giants, playing right field, but he was optioned to Triple-A Fresno after the game. Also, the Giants optioned struggling right-handed reliever Scott Munter to Double-A Connecticut. ... Carpenter, a 21-game winner last season, is 4-2 this season with a 2.63 ERA and has been hurt by a lack of run support. ... Thompson was on the Opening Day roster this season for the first time in his career. ... Encarnacion had three RBI in Tuesday night's 8-5 win.