Hot glue, use it all the time to stick wires to circuit boards and use it like waterproof cables and joints out side. (Have a solar charge controller outside the entire board is submireded in the stuff works fine). But to repair a cable for what you want it would be a bodge.
Best to solder...