Javier Hernandez put Mexico ahead in the 12th minute.
Spain opened with only three players who started the July 11 World Cup final victory over the Netherlands: goalkeeper Iker Casillas, defender Carles Puyol and midfielder Sergio Busquets.
Spain coach Vicente Del Bosque made eight substitutions in the second half, bringing on World Cup starters Sergio Ramos, Xabi Alonso and Xavi Hernandez.
NETHERLANDS 1, UKRAINE 1
In Kiev, Ukraine, the Netherlands fought to a draw with Ukraine in its first game since losing the World Cup final to Spain.
The Netherlands rested its World Cup players and fielded an inexperienced team but took the lead in the 72nd minute on Jeremain Lens first goal for the national team. Midfielder Oleksandr Aliev equalized a minute later.
ENGLAND 2, HUNGARY 1
In Wembley, England, Steven Gerrard rescued England from a post-World Cup embarrassment against Hungary, scoring twice in a five-minute span of the second half to lift the Three Lions.
England was booed from the start by fans venting anger at the team's second-round World Cup exit. The jeers increased when England fell behind in the 63rd minute on an own goal by Phil Jagielka.
ARGENTINA 1, IRELAND 0
In Dublin, Argentina interim coach Sergio Batista strengthened his case to be given the job full time when the Albiceleste defeated Ireland on Angel di Maria's goal in the 20th minute.
Batista is Argentina's youth team coach and was put in charge of the national team in July when Diego Maradona was fired following a 4-1 loss to Germany in the World Cup quarterfinals.
GERMANY 2, DENMARK 2
In Copenhagen, Denmark, Denmark rallied from a two-goal deficit to tie Germany, getting an 86th-minute equalizer from Mads Junker.
Mario Gomez scored in the 19th minute, and Patrick Helmes made it 2-0 in a counterattack in the 73rd. Dennis Rommedahl scored one minute later, and Junker tied it.
SOUTH AFRICA 1, GHANA 0
In Johannesburg, in its first match since playing host to the World Cup, South Africa defeated Ghana as Katlego Mphela scored in the 42nd minute.
NORWAY 2, FRANCE 1
In Oslo, Norway, Laurent Blanc's first match as France coach was a loss as his inexperienced team fell to Norway in a friendly.