Recently, I ran into trouble in which I couldn’t find a simple way to find the admin database name in MOSS 2007 as its not displayed in Central Admin and there is no PowerShell supported in MOSS 2007 so we have to deal with stsadm tool.
So, to find that I used stsadm command’s operation enumcontentdbs. Following is the example for the same.
stsadm -o enumcontentdbs -url "<Central Admin URL>"
This would give an xml in which admin content database name would be present.