Use SMT.
I have experienced such a problem with the SMT Mini USB B connector in the past. Generalmente, the solution is to design the enclosure so that it will not allow any movement of the connector against the PCB.
As for the reason why to use SMT, SMT components are cheaper to assemble in large quantities. Di conseguenza, through-hole components usually require special approval in most designs targeting mass production.
Leggi di più: Assemblaggio PCB a foro passante
#PCB Design #PCB Assembly