Don't try to resolder the connector directly to the motherboard, you would probably scrap the board. Instead use two small wires and solder them to the two contacts on the board where the connector was seated then solder the other ends of the wires to the connector. That's micro soldering and it's not a newbie job so my advice would be to find a electronic technician to do the soldering. If you decide to do it yourself don't put solder on the motherboard but only a very small amount on the wire end then ajust the wire to the contact on the motherboard and briefly apply the soldering iron on the wire end.

Gook luck !!