Jay Bruce and Shin-Soo Choo also hit solo homers off Lynn (13-10), who lasted five innings and gave up three homers for only the second time in his career. Frazier also connected off Seth Maness for the third multihomer game of his career.
Left-hander Tony Cingrani (7-3) returned from a sore back and did a little bit of everything. He pitched into the sixth inning, gave up two runs, bunted for a hit, stole a base and scored.
David Freese homered for the Cardinals, who have lost six of eight.