TORONTO -- Jose Bautista singled to right field with the bases loaded and no outs in the 19th inning, leading Toronto to a 6-5 win over the Detroit Tigers on Sunday in the longest game in Blue Jays history.

Tigers right-hander Rick Porcello (13-7), usually a starter, entered the game in the 17th and took the loss as the Blue Jays took the rubber match of the three-game series.

Porcello allowed a leadoff single in the 19th to Munenori Kawasaki. Jose Reyes bunted and reached first on Porcello's error while Kawasaki reached third. Left fielder Melky Cabrera was walked to load the base to bring up Bautista.

It was the Blue Jays' longest game in time at six hours, 37 minutes, and the first time they played past 18 innings.

Right-hander Chad Jenkins (1-1) allowed seven hits over six innings to earn the win.

Phillies 7, Mets 6

PHILADELPHIA -- Ryan Howard delivered a walk-off single in the ninth inning, and Philadelphia rallied from a 6-1 deficit for the win.

With the Phillies trailing 6-5 entering the ninth, Cody Asche hit a leadoff double and scored the tying run on pinch hitter Marlon Byrd's single. Byrd stole second, and after an intentional walk to Chase Utley, Howard came through.

The Phillies snapped the Mets' five-game winning streak at Citizens Bank Park. Reliever Ken Giles (1-0) pitched a scoreless eighth inning to pick up his first major league win, while Mets closer Jenrry Mejia (5-5) allowed three hits and two runs for the loss.

Indians 4, Yankees 1

NEW YORK -- Carlos Carrasco pitched five innings for his first win as a starting pitcher in more than three years as Cleveland defeated New York.

Working on a pitch limit, Carrasco (4-4) allowed two singles in his first start since April 25. He entered the game 0-12 with a 8.09 ERA in his previous 17 starts since beating the Yankees on July 5, 2011.

Carrasco allowed a two-out single to center fielder Jacoby Ellsbury in the first inning and a one-out single to second baseman Stephen Drew in the second. After Drew's hit, Carrasco retired the final 11 hitters he faced.

Reds 7, Marlins 2

CINCINNATI -- Catcher Devin Mesoraco homered twice, including a grand slam, and Johnny Cueto pitched eight strong innings to lift Cincinnati.

Right fielder Giancarlo Stanton and third baseman Casey McGehee homered for Miami.

Mesoraco was given the chance to play Sunday with Brayan Pena, Cueto's regular catcher who was out with a tight hamstring. Mesoraco made the most of his opportunity, tying a club record with his third grand slam this season. It was his third career multi-home run game.

Padres 8, Pirates 2

PITTSBURGH -- Right-hander Tyson Ross pitched six solid innings and right fielder Seth Smith drove in three runs with a triple in the fifth inning to lead San Diego.

Ross gave up two runs, six hits and two walks. He lasted at least six innings for the 19th time in his past 23 starts.

The Padres added to their lead in the seventh inning when first baseman Yonder Alonso drove in his second run of the day with a sacrifice fly.

Dodgers 5, Brewers 1

MILWAUKEE -- Los Angeles Dodgers ace Clayton Kershaw held Milwaukee to a run on six hits over eight innings.

Milwaukee starter Jimmy Nelson gave up eight hits and walked a batter but only allowed two runs and struck out three over six innings.

The Dodgers tied it up in the third when Kershaw, who was hit by a Nelson pitch, scored on first baseman Adrian Gonzalez's sacrifice fly. The Dodgers added an insurance run in the seventh on Gonzalez's RBI double off the wall in center.

Royals 7, Giants 4

KANSAS CITY, Mo. -- Right fielder Nori Aoki reached base four times, swiped three bases and scored two runs and center fielder Jarrod Dyson went 3-for-3 and also stole three bases for Kansas City.

Left hander Danny Duffy (7-10) earned the victory, giving up four runs on three hits, three walks and a hit batter in 6 2/3 innings.

Right-hander Tim Lincecum (9-8) was charged with the loss.

Cardinals 8, Orioles 3

BALTIMORE -- Kolten Wong tied a career high with four hits, Peter Bourjos homered and St. Louis Cardinals avoided a three-game sweep.

Baltimore manager Buck Showalter was ejected in the seventh inning by second base umpire Jeff Nelson on a reversed call after a Cardinals challenge.

Cardinals right-hander Lance Lynn was effective containing Baltimore's powerful lineup. He limited the Orioles to three runs with nine hits, six strikeouts and a walk in 5 2/3 innings.

Rangers 6, Astros 2

HOUSTON -- The Texas Rangers capitalized on a sloppy defensive performance by Houston and averted a series sweep.

The Astros were charged with only one error, but a series of miscues greased the skids to an end of their seven-game winning streak against the Rangers.

Houston left-hander Dallas Keuchel uncorked a pair of wild pitches while his teammates surrendered extra bases with unsound decisions against aggressive Texas baserunners.

Twins 6, A's 1

OAKLAND, Calif. -- Phil Hughes pitched seven strong innings, Josh Willingham hit a two-run homer and the Minnesota snapped its 12-game head-to-head losing streak against Oakland.

Hughes (12-8) allowed just one run on four hits, winning his second consecutive start. He struck out seven and walked one.

The Twins snapped a 1-1 with three runs in the eighth inning, on a Kurt Suzuki double and Willingham's homer off Luke Gregerson (2-2).

Rockies 5, Diamondbacks 3 (10 innings)

PHOENIX -- Corey Dickerson hit a tiebreaking home run with two outs in the 10th inning, and Wilin Rosario singled home another run to lift Colorado over Arizona.

Dickerson hit his 14th homer of the season into the pool area beyond the right-center field fence off Oliver Perez (2-2) before center fielder Brandon Barnes beat out a bunt single and third baseman Nolan Arenado was hit by a pitch.

Rosario dropped a single into center field for an insurance run as the Rockies won for the third time in their past 26 road games.

Red Sox 3, Angels 1

ANAHEIM, Calif. -- Yoenis Cespedes hit a three-run home run in the eighth inning, his first home run for his new team, giving Boston a victory over Los Angeles.

Right-hander Rubby De La Rosa (4-4) earned his first road win of the season. De La Rosa allowed one run, three walks and five hits in seven-plus innings. He hit a batter and struck out eight while throwing 110 pitches.

Angels center fielder Mike Trout hit his 27th home run of the season, matching his season total from last year, in the bottom of the eighth.

Cubs 3, Rays 2 (12 innings)

CHICAGO -- Anthony Rizzo delivered a long walk-off single in the 12th inning to give Chicago a victory over Tampa Bay.

With runners on second and third and one out, Tampa Bay opted to play a defensive alignment of five infielders and two outfielders. The Chicago first baseman drove the ball into a vacant spot in right field to score Ryan Sweeney with the winning run.

Each team scored a run in the fifth inning and a run in the seventh inning. The starting pitchers, Tampa Bay's Alex Cobb and Chicago's Travis Wood, each allowed one run in six innings.

Mariners 4, White Sox 2

SEATTLE -- Austin Jackson had his most productive game since joining Seattle, going 3-for-4 and driving in all four of the team's runs.

Jackson, acquired from the Detroit Tigers in a deadline deal on July 31, helped the Mariners build a 4-0 lead through the first seven innings.

Seattle's bullpen then held on for the win. Closer Fernando Rodney, pitching for the third consecutive game, gave up three hits and a run in the ninth inning but got out of a bases-loaded jam to post his 32nd save of the season.