associating wordpress sites with their respective databases

HI,
Is there an easy way to find out which databases are linked with each wordpress site on a server?

Corn