UA 6247 then UA 3012 at Houston
Pensacola → Houston → Cancún
Timetable, Houston time
10:58UA 6247 from Pensacola at the gate
08:30UA 3012 to Cancún leaves the gate
21 h 32 apart on the timetable, overnight
UA 3012 leaves 21 h 32 after UA 6247 arrives on the timetable: more than half a day, so not a connection we count.