DB9 VGA Port Pinout

This style VGA port was used when VGA first became available, but has long since gone and been replaced with the DB15HD connector.

Pin   Description
 1    Red
 2    Green
 3    Blue
 4    Horizontal Sync
 5    Vertical Sync
 6    Red Ground
 7    Green Ground
 8    Blue Ground
 9    Not Connected