Bath City recovered from a disastrous opening to earn a point and deny Paul Cox victory in his first game as Mansfield manager.
The Stags led inside three minutes when Paul Connor headed in from close range from a left-wing cross by Matthew Bell.
Mansfield continued to look the better side and Martin Riley hit the post.
But the visitors levelled through Adam Connolly's deflected strike before the break, and although the hosts pressed late on, City stood firm.
Mansfield: Marriott, Bell, Riley, Naylor, O'Neill, Todd, Worthington, Murray, Briscoe, Connor (Dyer 70), Green (Meikle 76). Subs Not Used: Redmond, Stevenson, Wood.
Goals: Connor 3.
Bath City: Garner, Stonehouse, Preece, Jones, Simpson, Russell (Murray 74), Connolly, Burnell, Watkins, Hogg, Phillips (Cook 90). Subs Not Used: Matthews, Rollo, Webb.
Goals: Connolly 35.
Ref: Darren Handley (Lancashire).