Use a simple powershell commands
Start > Microsoft SharePoint 2010 Products > SharePoint 2010 Management Shell
It gets a list of all the databases used by SharePoint farm :
Get-SPDatabase | Select Name
It gets a list of the content databases :
Get-SPContentDatabase | Select Name