Which part of the wire did you damage? If only the side that goes to the connector, then cut back just past where you damaged it, connect the new repair wire and plug the pin in the socket.
No need for a solder, you can just tie up in a nice secure knot, and a bit if heat shrink tubing to seal and secure it.