A cable connector is provided having a plug and a receptacle. Magnets are arranged on the plug and receptacle such that the magnets attract each other when the plug and receptacle are in a mated position and repel each other when the plug and receptacle are a predetermined distance away from the mated position. A cable connection system is provided that includes an adapter for connecting the plug and receptacle when only one of the plug and receptacle include magnets.