Use SMT.
I have experienced such a problem with the SMT Mini USB B connector in the past. Обычно, 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. Как результат, through-hole components usually require special approval in most designs targeting mass production.
Прочитайте больше: Сборка печатной платы через отверстие
#Проектирование печатной платы #Сборка печатной платы