This was a Macromedia Shockwave game I played online, which was likely made before 2008.
The gameplay was pretty straightforward: we had to unclog the pipes and help all the water flow down. If any water remained stuck, or if the character died (shocked by a power outlet), you lost a life and eventually lost if you ran out of life.
The website on which I played it (when it existed) merely called it "Plumber" (although it's likely that they made up that name; most of the games they hosted didn't have the original name as displayed when you launched them). Unfortunately, the game wasn't archived on Archive.org.
Does someone remember the name of that game by any chance?