Nothing in the main Sonic the Hedgehog games gives Dr. Eggman a steady partner. The idea mostly comes from the animated adaptations, and the details differ by region.
In the Japanese release of Sonic X, a character named Sara is connected to Eggman, though the relationship is hardly affectionate. The English dub took its own liberties with the material, which is why you will see different names and different framing depending on which version someone watched.
Long-running anime and game localizations frequently rewrite dialogue and relationships for a different audience, and Sonic's animated history is full of such edits. So when two fans give you two different answers, they are usually both remembering their own version correctly.
In short: no canonical girlfriend in the games, and only inconsistent, comedic material in the cartoons.