Jackson Chourio tied the game in the eighth with his second homer of the night and Garrett Mitchell delivered a two-run shot later in the inning to give the Milwaukee Brewers a 5-3 victory over the New York Mets on Wednesday in Milwaukee that evened their NL Wild Card Series.

The teams will play a decisive Game 3 on Thursday night.

“We talk about it every night: ‘Win tonight. Do whatever it takes,’ ” Mitchell said. “And that’s what we did.”

Milwaukee trailed 3-2 when Chourio led off the eighth by homering to right-center off losing pitcher Phil Maton, making his fourth appearance on the mound in five days. The 20-year-old rookie also opened the bottom of the first inning with a drive to right against Sean Manaea, becoming the youngest player to hit a leadoff homer in the postseason.

After Blake Perkins singled and William Contreras grounded into a double play, Willy Adames kept the eighth inning alive with a single. Mitchell then hit a drive just over the wall in right-center, a 390-foot shot.

“In that situation, it’s like the moment is telling you to speed up, try to do more, swing for the fences, whatever you’re thinking,” Mitchell said. “For me, it was just like, just attack in the zone. ... Be yourself, be relaxed, pass it to the next guy. That was my mentality. I’m not trying to hit a homer there.”

Padres 5, Braves 4

Kyle Higashioka’s solo home run started a five-run rally against Max Fried with two outs in the second inning, and San Diego held on to sweep Atlanta in Game 2 of their NL Wild Card Series on Wednesday night in San Diego.

Manny Machado added a two-run double with the bases loaded and Jackson Merrill, a top contender for NL Rookie of the Year, followed with a two-run triple as the sellout crowd of 47,705 — the largest in Petco Park history — roared.

The Padres head up Interstate 5 to face Shohei Ohtani and the NL West rival and top-seeded Los Angeles Dodgers in a National League Division Series starting Saturday night. San Diego eliminated the 111-win Dodgers in a 2022 NLDS.

Fried and Padres starter Joe Musgrove exited early with apparent injuries. Fried left after the second inning. He was hit on the left hip by a ball off the bat of Fernando Tatis Jr. two batters into his outing. Musgrove left with two outs in the fourth after throwing two slow curveballs to Matt Olson.