I had accidentally deleted a content database "CDB-A"(not important) without doing a detach. I also added a new content database "CDB-B" to the web application.
SP 2010 seems to hang on to "CDB-A" somewhere and keeps spitting out this in uls log -- System.Data.SqlClient.SqlException: Cannot open database "CDB-A", login failed for user (usrename).
Get-SPContentDatabase also does not return CDB-A, but if i create a new one named CDB-A, I get a message "CDB-A already exists create a new one".
How can I dereference this CDB-A from sharepoint configuration?