PITTSBURGH — A.J. Burnett took a no-hitter into the seventh inning nearly 12 years after throwing the only one of his career, pitching the Pittsburgh Pirates to a 5-0 victory over the St. Louis Cardinals on Wednesday night.

Burnett (1-2) lost his bid with two outs in the seventh on Carlos Beltran’s double to right-center. That was the lone hit given up by the 36-year-old right-hander in seven dominant innings.

The only other runner he allowed came when he hit Daniel Descalso with a 2-2 pitch with one out in the sixth to end his shot at a perfect game. Burnett struck out eight to raise his season total to 35 in 24 innings.

His bid for a no-hitter came on a night when he recorded the 2,000th strikeout of his 15-year career. Burnett reached the milestone when he caught Beltran looking to lead off the second.

The game was stopped briefly when Pirates infielders and catcher Russell Martin went to the mound to shake Burnett’s hand. Burnett also gave a quick wave to the crowd of 9,570, which gave him a standing ovation.

Mark Melancon, Tony Watson and Jason Grilli completed the one-hitter. It was the Pirates’ second shutout of the season and the second time the Cardinals had been blanked.

Burnett’s no-hitter came on May 12, 2001, for the Florida Marlins in San Diego. That game was also notable for his nine walks. Burnett did not issue a free pass Wednesday night.

St. Louis rookie Shelby Miller (2-0) pitched well despite taking his first loss in four career decisions. He gave up two runs and six hits in six innings with one walk and six strikeouts.

Andrew McCutchen and Neil Walker each had two of Pittsburgh’s 11 hits.

Brewers 4, Giants 3: In Milwaukee, pinch-hitter Blake Lalli hit an RBI single in the bottom of the ninth inning to key the Brewers.

With the score tied, one out and the outfielders playing in, Lalli lofted a deep fly ball well over the head of left fielder Gregor Blanco for his first hit of 2013.

Brewers starter Kyle Lohse did not allow a hit through the first five innings as Milwaukee built a 3-0 lead.

Reds 1-11, Phillies 0-2: In Cincinnati, Jay Bruce hits a pair of bases-loaded singles that sent the Reds to a couple of wins over the Phillies.

First, Philadelphia’s Phillippe Aumont (1-2) Bruce’s bases-loaded single in the bottom of the ninth for a 1-0 win only four batters after the teams resumed a game suspended by rain Tuesday night.

Bruce had a big hand in Cincinnati’s 11-2 win in the nightcap. He had a bases-loaded single to right field — just like the last one — that highlighted a five-run rally in the second inning off left-hander John Lannan (0-1).

Reds starter Mike Leake (1-2) drove in a run with his first career triple during Cincinnati’s 10-batter second inning. The Reds had two singles, a double, a triple, Todd Frazier’s homer, a walk and a hit-by-pitch during the rally.

Leake, who leads all major league pitchers with 49 hits over the past four seasons, also had a pair of infield singles. The three hits matched his career high — he also did it in Philadelphia in 2010. Leake allowed three hits and didn’t walk a batter in seven shutout innings.

Nationals 6, Marlins: In Miami, Ross Detwiler departed with a lead for the third start in a row, and this time the bullpen held on as Bryce Harper and the Washington Nationals beat the Marlins.

Harper, back in the Nationals’ lineup after missing one game with the flu, hiked his average to .364 with four hits and improved to 8-for-12 against Ricky Nolasco. Harper hit two solo homers off Nolasco on opening day.

Detwiler (1-0) allowed one run in seven innings, which increased his ERA to 0.90. He left his first two starts with the Nationals ahead 5-1 and 4-1, but both times received no decision.

Tyler Clippard and Rafael Soriano pitched one perfect inning apiece to close out the seven-hitter.