The proceeds from the game went to the Tucson Together Fund, which is the only officially sanctioned fund established to assist victims, families and witnesses of the Jan. 8 shooting tragedy in Tucson. One of the victims, 9-year-old Christina-Taylor Green, was the daughter of Dodgers scout John Green.
Trailing 3-2 with one out and runners at second and third in the seventh, D-backs Minor League pitcher Tyler Skaggs executed a suicide-squeeze bunt to score Cody Ransom and tie the game.
Ryan Roberts followed with an RBI double and Gerardo Parra added a run-scoring single to put the D-backs up 5-3. Paul Goldschmidt hit a solo homer in the eighth for D-backs.
The Dodgers jumped on Arizona starter Armando Galarraga for a pair of runs in the second inning when, with two outs, A.J. Ellis singled home Aaron Miles, and Justin Sellers drove home Ellis with a double to right-center.
In the third, the Dodgers added a run on a Jay Gibbons sacrifice fly.
Dodgers starter Tim Redding, who is competing for a rotation spot, cruised through the first three innings before running into trouble in the fourth.
Chris Young led off with an infield single and Juan Miranda followed with his fourth homer of the spring to pull the D-backs to within 3-2.
After Miranda's homer, Redding allowed a single before leaving the game due to back pain on his lower right side following his first pitch to Chris Owings.
Up next for Dodgers: The Dodgers travel to Peoria, Ariz., on Saturday, when Clayton Kershaw will make his last prep before Opening Day and face the Padres at 1:05 p.m. PT. Kershaw will likely throw four innings, but the more intriguing position is catcher, where Hector Gimenez is trying to beat out A.J. Ellis for the backup job now that Dioner Navarro is out a month with an oblique strain suffered Thursday.
Up next for D-backs: The D-backs return to Salt River Fields at Talking Stick on Saturday to take on the Royals at 1:10 MST. It will be the final tuneup for right-hander Ian Kennedy before he takes the mound in the April 1 opener against the Rockies at Coors Field.