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.
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