Connect the wall plug end only is the traditional advice. the other end is attached to the wall plug through the ground wire in the cable so there isn't really much difference. Probably not a problem attaching both ends. but during some theoretical huge short to ground you want current flowing through the ground wire not the shield.
Jerry