My web application is corrupted, how do I create a new content database using the same web application?

What can I do ? I need to use same web application but with a new content database, I don't care about old data at all.

1 Answer 1


Go to Central administration -> Application Management-> Database -> Manage Content Database. Select the required web application and delete the content database associated with it. After that add a new content database and use Mount-SPContentDatabase command to attach newly created content database to it. Example:

Mount-SPContentDatabase "MyDatabase" -DatabaseServer "MyServer" -WebApplication http://sitename
  • thank you Nadeem, plz tell also how i create new content datbase Feb 2, 2015 at 14:49
  • 1
    To add a new content database click on Add a content database on the same page. Feb 2, 2015 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.