Something that's always worked for me: when soldering a male DB
connector (DB9, DB25, whatever -- or really any male/pin style
connector), plug it into a mating female connector first. That will hold
the pins securely in place and prevent them from sagging in the plastic
of the body if your soldering iron is too hot or you hold it on too long.
--
**Richard