Updated

Frank Francisco says he threw good pitches. The Miami Marlins hit them anyway.

Francisco blew a save for the second time this season Friday, allowing two runs in the ninth as the Marlins rallied to end the New York Mets' five-game winning streak with a 6-5 victory.

"We have to put that game away," Mets manager Terry Collins said.

Instead, Greg Dobbs drove in the winning run with a looping two-out single.

"You only can control where you throw the ball. You can't control the results," said Francisco (1-2), whose ERA rose to 6.59. "I jammed him, but it ended up in a bad spot."

A double by Giancarlo Stanton began the inning.

"I thought it was the right pitch, fastball in," Francisco said.

Stanton took third on a flyout and scored on a single by Bonifacio, who stole second. After John Buck struck out, Dobbs lined the first pitch from Francisco for a single, and Bonifacio scored without a play.

When Dobbs delivered the walkoff hit, his first since 2005, the crowd of 31,007 filled the Marlins' new ballpark with gleeful noise.

"It was very loud and very fun," he said. "There's nothing to describe that kind of feeling — with the swing a bat and a little bloop hit, to bring 31,000 people to their feet and make them scream and clap, you feel the love and the happiness in the building. It's special."

Over the past 10 games, the Marlins have scored the decisive run in their final at-bat four times.

"Would you want it any other way?" said Mark Buehrle, who allowed two runs in 6 2-3 innings. "We'd definitely like to win some games so it's not so stressful on everybody. But we're coming out ahead, so no matter."

The Mets overcame an early 3-0 deficit. They entered the ninth leading 5-4 and on the verge of their fourth consecutive comeback win.

"We were sitting where we wanted to," Collins said. "They just came back."

A poor start hurt the Mets, too. Johan Santana gave up a two-run homer to Austin Kearns and trailed 3-0 after one-third of an inning.

"Just one mistake, and everything changed," Santana said.

"We are certainly not used to somebody jumping on Johan like that," Collins said.

Marlins newcomer Heath Bell (1-3), who lost his job as Miami's closer after blowing four saves, pitched a perfect ninth and lowered his ERA to 9.28.

Jose Reyes led off Miami's first with a catchable triple over the head of center fielder Andres Torres. Omar Infante followed with an RBI single, and Kearns pulled a 3-2 pitch to activate the animated home-run sculpture.

Reyes' hit meant a milestone for New York. The game was the 8,000th in Mets' history, and they've never thrown a no-hitter — baseball's longest such streak.

The Mets trailed 3-2 before scoring three times in the eighth. David Wright led off the inning with his third hit, a double. Pinch hitter Kirk Nieuwenhuis tied the score with a one-out double, and after consecutive walks loaded the bases, pinch hitter Mike Baxter hit a two-run double.

Baxter improved to 6 for 15 (.400) as a pinch hitter.

Ike Davis hit his fifth homer in the fifth for the Mets, and Mike Nickeas doubled home a run in the seventh.

Miami scored an unearned run in the eighth after first baseman Davis mishandled a routine grounder.

"I had a lot more time," Davis said. "I should have just gotten in front of it and knocked it down."

Notes: The grounds crew at the ballpark continues to struggle with the badly worn grass in deep center and right field. Workers are experimenting with ways to improve the condition of the turf, which has gotten little sun because of rainy weather and the retractable roof. ... With the temperature 82 at game time, the roof was closed. ... Santana made a sprawling catch of Buehrle's bunt in the fifth. ... Miami's Hanley Ramirez went 0 for 3 facing Santana. He's 3 for 26 (.115) against left-hander with 10 strikeouts.