I was trying to do a attach database upgrade from SharePoint 2007 to 2010 today and while trying to attach this database from SharePoint 2010 Central adminstration, I got the following error
This content database requires upgrade and could not be attached in this operation. Use either the [stsadm -o addcontentdb] command or [Mount-SPContentDatabase] cmdlet instead.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 78ef63ce-f4c4-43bd-86ff-97031cae147b
So I googled as fast as I could for Mount-SPContentDatabase Parameters and found the following from Microsoft’s site (click here for parameter details)
Mount-SPContentDatabase [-Name] [-WebApplication] [-AssignmentCollection ] [-AssignNewDatabaseId ] [-ChangeSyncKnowledge ] [-ClearChangeLog ] [-Confirm ] [-DatabaseCredentials ] [-DatabaseServer ] [-MaxSiteCount ] [-UpdateUserExperience ] [-WarningSiteCount ] [-WhatIf ]
Stsadm equivalent of the same is (click here to parameter details)
stsadm.exe -o addcontentdb