Three Bundesliga clubs have moved into the second round of the German Cup but they all needed extra time or penalties to overcome lower-tier opposition on a night of near upsets.
Top flight Hoffenheim came close to being knocked out at third-tier Wurzburger Kickers.
Hoffenheim went behind after 11 minutes but an own goal eight minutes later took the game to extra time.
Wurzburg led again after scoring in the 100th minute, but Marius Bülter, the former Schalke forward, equalised for Hoffenheim in the 107th minute to take the game to penalty kicks.
Wurzburg captain Dominik Meisel was the only player to miss from the spot as Hoffenheim won the shootout 5-3.
Fourth-tier Hallescher were seconds away from embarrassing last season’s second division champions St Pauli.
Hallescher led 2-1 until Adam Dźwigała levelled in the 94th. Substitute Lars Ritzka scored the winner for the Hamburg club in the 110th minute to seal a 3-2 victory.
Mainz recovered from going 1-0 down against third-tier Wehen Wiesbaden but needed extra-time goals from captain Jonathan Burkardt and midfielder Nadiem Amiri to clinch a 3-1 win.
Bayern Munich, playing their first competitive game under new coach Vincent Kompany, were taking on third-tier Ulm later on Friday.