Updated

John Buck had four RBI, and the New York Mets used a three-run seventh inning to snap a tie and beat Miami, 7-3, in the second of three games between the clubs.

"Last year, if something could go wrong, it went wrong. And then I tried harder to fix it," Buck said about his 2012 season with the Marlins. "It was a lot of stuff just piling up that I couldn't get right."

David Wright finished 3-for-4 with an RBI and two runs scored, while Collin Cowgill added a solo homer for the Mets, who snapped a two-game slide.

Josh Edgin recorded the final out of the top of the seventh and Brandon Lyon (1-0) pitched the eighth to get the win.

Greg Dobbs totaled two hits and drove in two runs for the Marlins, who couldn't maintain momentum from a 7-5 win in Friday's series opener.

Ryan Webb (0-1) was charged with the defeat after giving up three runs (two earned) and two hits with two walks over 1 2/3 relief frames.

New York picked up three runs in the home seventh to take a 6-3 lead.

Mike Baxter walked with one down, stole second and scored on a Daniel Murphy triple, then Wright added a single to plate Murphy for a two-run spread. Wright stole second ahead of an intentional walk to Ike Davis, then Buck's fly to right brought in Wright for a three-run edge.

Cowgill's two-out solo homer in the eighth made it 7-3 for the hosts, and Bobby Parnell retired the side in order in the ninth.

Dobbs' two-out single pushed across a Miami run in the top of the first, but the Mets countered in the home half on a sac fly from Buck.

Mets shortstop Ruben Tejada's bad throw to first on a potential double-play grounder from Dobbs in the fifth scored Placido Polanco to give the Fish a 2-1 edge. Polanco singled with one down and advanced on a Giancarlo Stanton base hit.

In the sixth, Wright and Davis hit consecutive one-out singles and Buck doubled both home for a 3-2 Mets' edge.

Dobbs drove in Juan Pierre to tie the score in the seventh, but was called out by home plate umpire Jim Joyce after he ruled Pierre interfered with Buck as he tried to throw to second to erase Dobbs.

"I've been watching the game for 42 years at this level and never saw anything like it before," said Mets manager Terry Collins.

Game Notes

Mets starter Jon Niese allowed eight hits and one earned run over his six- inning start, while counterpart Ricky Nolasco exited after 5 1/3 frames having given up six hits and three runs with three walks and as many strikeouts.