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 DB15 VGA Connector

DB9 Female

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