replacement of the SATA connector on the WD GOLD 4TB drive

part of the SATA connector broke off. How can it be fixed? Is it necessary to change the entire circuit board?