Happens with bulb sockets too. A couple drops of super glue, tweezer with a rubber band as a clamp. Holds well enough to get connector in. Connector will hold it. Tinning the trace can tighten it up too.