NEW YORK -- The New York Mets are beginning to put their awful start behind them.
"I had a good sense that coming home with the crowd rooting for us this would happen," rookie manager Willie Randolph said. "We got some tough breaks the first three or four games, a little bloop here, a break there. That's all passed."
Morgan Ensberg had three hits and an RBI for Houston, which had won four in a row after an opening day loss to St. Louis.
Reyes then hit a comebacker to Springer, who tried for an inning-ending double play -- as manager Phil Garner instructed during a visit to the mound -- instead of holding the runner at third.
Anderson took out shortstop Adam Everett, and Reyes easily beat the wild throw to first as Diaz scored the tying run.
"Ninety percent of the guys you're going to double up, but he gets down the line," Springer said. "That was just one of those ugly innings."
Reyes stole second on the next pitch and scored on Matsui's single to center.
Lane said Biggio couldn't hear him calling for the ball because of all the noise from the sellout crowd of 53,663. Lane was charged with an error, allowing another run to score.
Roberto Hernandez (1-0) got the win. He entered with a runner on second and none out in the eighth and prevented further damage.
"That's the way I like to win, the way I envision it," Randolph said. "Stick to it. Be aggressive. It was a nice win, coming home. You try to formulate a mind-set, an attitude, guys taking the extra bases, Matsui executing a beautiful bunt.
"This is the kind of team I'd like us to be and I felt in my heart we could be. You take a deep breath and say let's play ball," he said.
An RBI double by pinch-hitter Jose Vizcaino off Dae-Sung Koo in the top of the eighth put Houston ahead 4-3. Ensberg started the inning with a double and scored on Lane's tying triple off Manny Aybar.
Everett cut New York's lead to 3-2 with an RBI single off Aybar in the seventh after Orlando Palmeiro's triple.
The Mets were coming off their first win of the season, an energizing 6-1 victory Sunday in Atlanta behind Pedro Martinez's two-hitter and Beltran's go-ahead homer in the eighth.
"The last two days this team showed a lot of heart," reliever Braden Looper said.
New York went up 3-1 in the sixth by scratching out three runs against Andy Pettitte without hitting the ball hard.
Diaz tied it with a looping RBI single to right -- Lane might have been able to make the play but he first broke back on the ball.
Pinch-hitter Miguel Cairo drove in the go-ahead run with a bloop single, and Matsui's bunt single made it 3-1.
"We can do these type of things. The game is so unpredictable. You put together all our hits today, they wouldn't reach the wall," Floyd said. "There's no reason to doubt ourselves. We knew we'd go through some downers in the season. You put that behind you."
Ensberg's two-out RBI double off the right-field wall gave Houston the lead in the first.
Pettitte heard plenty of boos in his return to New York. The left-hander pitched nine seasons for the Yankees from 1995-03 and helped them win four World Series titles.
He allowed three runs and nine hits in 5 1/3 innings.
"I pitch in and I give up a lot of broken-bat singles and stuff like that," Pettitte said. "Just frustrating. I didn't want to come out of the game."
Glavine was much better than his previous start, when he lasted only 3 2/3 innings in Cincinnati. He gave up one run and four hits, striking out six.
The left-hander still has not lost to Houston since June 4, 1995, with Atlanta. He has won his last 10 decisions against the Astros.
"There's a good chance some time in the year you're going to lose four or five in a row," Glavine said. "To come back the way we did was a good feeling. We feel good about the guys we have in here."
- The Mets improved to 28-14 in home openers at Shea Stadium and 9-2 in their last 11.
- Pettitte and Glavine have 25 postseason wins between them.