Hernandez used his off-speed stuff to take a shutout into the seventh inning, helping the New York Mets hand the Marlins their first loss, 8-4 on Saturday night.
Florida had been the last undefeated team in the majors, but Hernandez tamed an offense that batted .309 and scored 31 runs as the Marlins won their first four games.
"The Marlins are a good hitting team," Hernandez said. "You've got to not make a lot of mistakes and throw the ball down. With a lot of hitters, you can see what they're looking for, and I try to take advantage and throw whatever they don't want to hit."
Meanwhile, Ricky Nolasco (1-1) endured the poorest outing so far by a Florida starter, allowing four runs in five innings. The Marlins' 4-0 start was the best in franchise history.
"We had to come down to reality at one time or another," second baseman Dan Uggla said.
The Mets totaled 15 hits. Luis Castillo took 100 extra swings before the game and then went 4-for-4 to hike his average from .100 to .357.
"I feel better," Castillo said. "I don't want to think so much, and that's what I've been doing. I get frustrated sometimes, but I know what kind of player I am."
Although Florida proved to be beatable, Marlins leadoff hitter Emilio Bonifacio continued to look unstoppable. He went 3-for-5 with a double and an RBI single, which raised his average to .583.
The game drew 39,412 fans, the Marlins' largest crowd since Aug. 18, 2007, but not all were on the home team's bandwagon. Many cheered for the Mets, and they gave Hernandez (1-0) a big ovation when he left the game after 6 2/3 innings.
The 34-year-old right-hander had an ERA of 6.05 last year for Minnesota and Colorado. He needed a strong spring to win the fifth spot in the Mets' rotation after signing a minor league contract in February.
"I had a good offseason," Hernandez said. "I've got a chance to be the Livan I used to be."
He kept the Marlins off-balance by changing speeds, such as when he struck out rookie Cameron Maybin with a 60 mph curve. A 62 mph curve sent Hanley Ramirez almost spinning into the ground when he swung and missed.
"We're a team that would rather have someone throw 95," Marlins catcher John Baker said.
Hernandez gave up only six hits and two runs in the longest outing so far by a Mets starter.
"When you have a veteran like Livan who commands his pitches and can put a little on and take a little off, he can be tough for a young, aggressive-swinging team like that," Mets manager Jerry Manuel said. "He was able to throttle back and forth, which made him very effective."
Four relievers completed the victory. After Florida scored an unearned run in the ninth, new Mets closer Francisco Rodriguez came on to get the final two outs.
Castillo scored the game's first two runs. He singled to start the second inning, advanced on a sacrifice and came home on a broken-bat double by Reyes.
Castillo led off the fourth with another single and again took second on a sacrifice by Hernandez. Reyes homered, Daniel Murphy singled and Delgado hit a two-out RBI double to make it 4-0.
Ryan Church singled to start the sixth and scored on Castillo's single. It was still 5-0 in the seventh when the Marlins broke through against Hernandez with RBI singles by pinch-hitter Wes Helms and Bonifacio.
Back-to-back errors by first baseman Jorge Cantu and third baseman Bonifacio led to three unearned runs in the eighth.
After the game, the Marlins activated utilityman Alfredo Amezaga from the disabled list and optioned infielder Andy Gonzalez to Triple-A New Orleans. ... Left-hander Johan Santana, who will start Sunday, has won all five of his career starts against Florida with an ERA of 1.83. ... The Mets received a scare in the fifth when shortstop Reyes came up limping after Maybin slid into him trying to break up a double play. Reyes stayed in the game. ... Nolasco fell to 2-6 with an ERA of 6.36 in 12 games against the Mets.
MLB qualifying offer value drops by $500,000 to $18.4 million
The price of a qualifying offer to Major League Baseball free agents dropped by $500,000 to $18.4 million, a sign of the slide in salaries.
MLB playoffs 2021 - Best plays and moments from Atlanta Braves-Los Angeles Dodgers, Houston Astros-Boston Red Sox
The reigning champion Dodgers are in a hole against the Braves, but have Walker Buehler on the mound. The Red Sox are mashing against the Astros but how long can Boston keep it up?
New York Yankees shift attention to filling void at shortstop
With shortstops Carlos Correa and Corey Seager poised to headline a strong free agent class, Yankees GM Brian Cashman said the position is "an area of need" as the team looks to replace Gleyber Torres, who was moved to second base.
Aaron Boone to return as manager of New York Yankees
Aaron Boone, whose job security came into question after the Yankees finished third in the AL East and then lost to the Red Sox in the AL Wild Card Game, will return with a new three-year deal, plus a club option for 2025.
MLB playoffs 2021: Atlanta Braves slugger Austin Riley never stops adjusting
As his high school coach knows well, Braves star Austin Riley's breakout season comes on the back of a lifetime of adjusting his game to keep improving.
MLB playoffs 2021: Can the Los Angeles Dodgers come back from an 0-2 NLCS hole?
Will L.A.'s star power shine through at home, or is this series already Atlanta's to lose? Our experts weigh in ahead of Game 3.