SAN DIEGO — Jett Bandy singled in the go-ahead run with one out in the ninth inning and the Milwaukee Brewers beat the San Diego Padres 3-1 on Wednesday night to take over first place in the NL Central.

The Brewers won for the fifth time in six games. They overtook St. Louis, which lost to Boston.

The Brewers had only two hits going into the ninth before getting four straight with one out against reliever Brandon Maurer (0-3). Travis Shaw, who missed the previous two games with a swollen right index finger, started the rally with a double to left. Domingo Santana reached on a single that glanced off the glove of leaping shortstop Erick Aybar, and Bandy hit a bouncer up the middle to score Shaw. Keon Broxton singled to load the bases and Santana scored on Orlando Arcia's groundout.

Jacob Barnes (1-0) pitched the eighth for the win and Corey Knebel pitched the ninth for his second save.

The Padres wasted a brilliant effort by Jhoulys Chacin, who struck out eight in seven innings, retiring 19 straight batters at one point. Chacin left an inning after the Padres tied it at 1.

The right-hander fell behind 1-0 after four batters. He walked leadoff hitter Eric Sogard, allowed a single to Hernan Perez and then a one-out RBI single by Shaw.

He then settled in and retired 19 straight until walking Bandy with two outs in the seventh. He struck out Broxton to finish his night's work. He walked two.

San Diego tied it at 1 against Matt Garza with two outs in the sixth. Wil Myers beat out an infield single to deep shortstop and scored when Yangervis Solarte's lazy fly ball fell just in front of diving centre fielder Broxton.

Garza held San Diego to a run and four hits in six innings, struck out three and walked one.

TRAINER'S ROOM

Brewers: 1B Eric Thames missed his third straight game with strep throat. Manager Craig Counsell said Thames is making progress. He hit in the indoor cage and took some batting practice on the field. "He's just got to get his strength back," Counsell said. "He's feeling better; just still a little sick, fatigued. He feels like he lost some strength from being sick for four days."

Padres: RHP Trevor Cahill, who had been scheduled to start Thursday, went on the 10-day disabled list, retroactive to Sunday, with a strained pitching shoulder. Righty reliever Kevin Quackenbush was recalled from Triple-A El Paso.

UP NEXT

Brewers: RHP Zach Davies (4-2, 5.80) is scheduled to start the matinee finale of the four-game series. He is 2-0 with a 1.89 ERA in three career starts against San Diego, including 2-0 with a 1.42 ERA in two starts at Petco Park.

Padres: RHP Jarred Cosart (0-1, 3.24) will start in Cahill's spot. Cosart hasn't won a game since Sept. 17, 2015, pitching for the Marlins at Washington.

___

More AP baseball: https://apnews.com/tag/MLBbaseball