For a permanent connection inside an enclosure I wouldn't choose a mini or micro USB connector. They're designed to be cheap to produce, be cheap to produce, survive a modest number of connect - disconnect cycles, and be cheap to produce, in that order. None of those attributes really make it a good, robust, fit-and-forget option.
I prefer something like a JST XH connector - 2.5mm pitch, polarised, latching, and readily available.