An MC4 connector will be the regular usually means of connecting solar panels. Male and woman connectors have protection locks so they won’t just occur apart. Also they are constructed for out of doors use and like minded for rooftop solar panels and RVs. PV cables are typically multi-conductor cables https://www.fr-cable.com/6mm2-en50618-pv-cable