LOS ANGELES -

Los Angeles Dodgers manager Don Mattingly planted a seed with pitcher Hyun-Jin Ryu on Sunday night. On Monday night, Mattingly watched as Ryu almost bloomed to perfection.

Ryu's bid to make the Dodgers the first major league club to record back-to-back no-hitters ended in the eighth inning, but Los Angeles hung on for a 4-3 decision over the Cincinnati Reds at Dodger Stadium.

One day after Dodgers right-hander Josh Beckett no-hit the Philadelphia Phillies, Ryu took a perfect game into the eighth before giving up a leadoff double to first baseman Todd Frazier.

"I told Ryu last night when he got on the plane he had to throw a perfect game today to top Beckett," Mattingly said. "For a while there, I was like 'Whew, he might do it.'"

Ryu said he took Mattingly's message to heart.

"It was actually a huge part of the game today," the left-hander said through an interpreter. "He actually pushed me and motivated me to focus a little more and try a little harder."

Cincinnati (22-27) scored three runs in the eighth and almost rallied for a win over Los Angeles (28-24). Right fielder Chris Heisey lifted a sacrifice fly to right, slicing the Dodgers' lead to 4-1.

Catcher Brayan Pena's single to left chased Ryu, who received a standing ovation from the crowd of 45,505 when Mattingly replaced him with reliever Brian Wilson. Ryu (5-2) was charged with three runs on three hits in 7 1/3 innings. He struck out seven and issued no walks.

"He was great for seven, and I thought he was really good in the eighth, too," said Dodgers catcher Drew Butera, who also caught Beckett's no-hitter. "It's just the third time around the lineup... hitters are little more comfortable on what (pitchers) like to throw in certain counts."

Wilson gave up a two-run double to Reds center fielder Billy Hamilton to cut the lead to 4-3 with two outs.

Cincinnati loaded the bases when Wilson walked shortstop Zack Cozart, but Dodgers closer Kenley Jansen struck out second baseman Brandon Phillips to end the threat. Jansen pitched a scoreless ninth to record his 15th save.

Reds starter Johnny Cueto (4-4) gave up four runs (one earned) on four hits with three strikeouts and two walks in 6 1/3 innings.

Ryu's performance helped the Dodgers set a club record with 17 hitless innings, which includes one inning by reliever Paul Maholm on Saturday against the Phillies. The last major league club with a hitless streak that long was the Los Angeles Angels, who achieved the feat from May 1-3, 2012, a stretch that included right-hander Jered Weaver's no-hitter against the Minnesota Twins.

As much as Ryu silenced the Reds until late, Cincinnati manager Bryan Price offered up his praise to Los Angeles third baseman Justin Turner.

"The guy that stands out more than anyone was the job Turner did at third base, making a couple of great plays," Price said. "I think he made three above-average plays on the infield that denied us hits, and of course a huge at-bat against Johnny that really took the starch out of Johnny in the seventh that led to their big inning."

Turner made consecutive defensive gems on hard-hit grounders by Hamilton and Cozart in the third before Phillips flied out to end the inning.

Ryu retired the next nine batters without a ball leaving the infield before the eighth.

The Dodgers scored three runs in the seventh. Ryu helped his own cause, driving in a run, when Cozart couldn't field his dribbler to short with one out, giving Los Angeles a 2-0 advantage. Ryu and Gordon scored on Carl Crawford's double to left for a 4-0 lead.

Los Angeles opened the scoring in the third inning. Second baseman Dee Gordon's smash bounced off Frazier's glove for an error, allowing Butera to score from second with two outs.

NOTES: Los Angeles C A.J. Ellis was placed on the 15-day disabled list after spraining his right ankle Sunday during the postgame celebration of RHP Josh Beckett's no-hitter against the Philadelphia Phillies. The Dodgers recalled C Tim Federowicz from Triple-A Albuquerque. ... Monday's game was the first of a seven-game road swing for the Reds. After their three-game series in Los Angeles, the Reds visit the Arizona Diamondbacks for a four-game set beginning Thursday. ... Dodgers SS Hanley Ramirez missed his fourth consecutive start with a calf injury. Ramirez was scheduled to be examined again by club doctors Monday to determine when he will return. ... The Reds entered the game with the highest fielding percentage (.988) and fewest errors (21) in the majors, but they committed two errors Monday. ... Legendary Dodgers announcer Vin Scully missed Monday's contest with a chest cold. He also is expected to be out Tuesday.