There usually is a limited warranty on the power adapter, so that time span
likely has passed given you stated two years has gone by...
A new replacement would be advised. I'd seen where some persons had a
electronics expert repair the wire by the plug; some companies had offered
repaired Magsafe adapters with that plug re-attached, online. OWC had a
few listed in their clearance page at macsales, that inventory changes though.
OWC also offers fair price original-equipment magsafe2/retina power adapters, new.
http://eshop.macsales.com/item/Apple/MD565LLA/ - 60w magsafe2 for 13" MB/Pro
http://eshop.macsales.com/item/Apple/MD506LLA/ - 85w magsafe2 for 15"
• Apple Portables: Troubleshooting MagSafe adapters - Apple Support
For more information about reducing strain relief issues, see the following articles:
The Apple Store online should be able to offer a replacement adapter, though I've
not researched a Store page URL; as the retina 13-inch MB/Pro is still in production.
PS: seems they do show only one, the 85w version2 for retina models: here's the link
http://www.apple.com/shop/product/MD506LL/A/apple-85w-magsafe-2-power-adapter-fo r-macbook-pro-with-retina-display
Good luck & happy computing! 🙂