When I was making some adjustments to my printer, I put too much pressure on the USB cable on my Creality CR-10 and damaged the connector. To avoid this issue and support the connector, I threw this together in TinkerCAD. I've included the gcode files for the CR-10 to print it at 205 deg so you can print it out right away. Even though the top mount version is pictured and what I used, I also included a modified side mount version that I think would provide better support and has a slightly tighter fit for the plug. You could also add some tape around the plug to get the right fit.
To attach to your printer control box, simply place a dab of super glue above and below the opening on the flat surface that will make contact with the control box. Slip the cable through the support and connect it to the port. Then slide the support up around the cable and press firmly to the control box. If using the top mount version, just place the super glue on the inside top surface that will make contact with the top of the control box. This worked like a charm for me. If using the side mount version, place the super glue above and below the opening. Hope it helps. Don't forget to check for fit before adding the glue, though.
The top mount version prints with supports and 40% infill at 205. The side mount version prints at 100% infill since the walls on it are thinner and also prints at 205.