Macbook Pro Charging and USB port not working properly
My Macbook Pro battery charging and USB ports are not working properly. When I connect the charging adapter to my computer, sometimes it does nothing at all, sometimes it charges fine. Also, when I plug my iphone into the usb port, it connects and reconnects repeatedly. Any ideas as to what could be going on here and how to resolve the issue?
MacBook Pro, OS X Mountain Lion (10.8.2)