"We know the pitching that we are going to face the next couple of nights," Brewers manager Ron Roenicke said. "So it was important to win this game."
Roenicke said the Brewers simply didn't quit, especially after falling behind and not having much success against Roberto Hernandez in his Dodgers debut.
"Not only do we come back and tie it and then get the lead, and then all of a sudden we get the big homer from Rickie," Roenicke said. "That opens it up."
Los Angeles scored two runs in the seventh to take a 3-2 lead, but Milwaukee capitalized on two errors by reserve shortstop Justin Turner and scored four runs in the bottom half of the inning.
"Actually, it was a pretty good game there until the seventh," Dodgers manager Don Mattingly said. "Then, we just defensively let our pitching down really. Really, it was our defense in general that let it down."
Pinch hitter Khris Davis reached on Turner's first error to load the bases. Carlos Gomez then reached on Turner's throwing error that allowed Mark Reynolds to score. Parra followed with a two-run single that gave Milwaukee a 6-3 lead.
"Unfortunate," Mattingly said of the fielding miscues. "Brandon comes in, really gets ground balls is what he's trying to do, what we asked him to do, and we just don't get what we want."
Ramirez said he hurt himself in the batting cage before the game. During his at-bat in the first, Mattingly didn't like how Ramirez reacted and took him out.
"One swing, it just tightened up on me," Ramirez said. "What (Mattingly) did is smart. He don't want to make it worse."
Turner pinch hit in the seventh and then took over at shortstop in the bottom of the inning.
Hernandez was traded by Philadelphia to the Dodgers on Thursday for two players to be named or cash considerations. He allowed two runs and three hits in six innings, throwing just 65 pitches.
Jeremy Jeffress (1-1) picked up the win in relief.
Dodgers: Ramirez walked on a 3-2 pitch from Kyle Lohse and then didn't come out for the Brewers' half of the inning. He is listed as day to day. ... Right-hander Josh Beckett (6-6, 2.88 ERA) went on the 15-day disabled list for the third time this season. He has a left hip impingement and is expected to be out 10 days to two weeks.
Brewers: Catcher Jonathan Lucroy was held out in a precautionary move. He has a hamstring issue aggravated by running the bases in Thursday's game with San Francisco.
Dodgers: Greinke (12-7, 2.71 ERA) starts the second game of the weekend series. He faces his former team for the first time this season.
Brewers: Right-hander Mike Fiers (0-1, 2.57 ERA) will be recalled from Triple-A Nashville before Saturday's game and make his first start with the Brewers this season. He's filling in for right-hander Matt Garza (left oblique strain), who is on the 15-day disabled list.
SEE YA LATER
The Dodgers and Brewers play six of their next 10 against each other in successive weekend series. Milwaukee travels to Los Angeles next Friday.
MAKING A MOVE
Milwaukee sent reliever Rob Wooten to Triple-A Nashville to make room for Fiers.