Add content databases in SharePoint Server - SharePoint Server (2024)

  • Article

APPLIES TO: Add content databases in SharePoint Server - SharePoint Server (1)2013 Add content databases in SharePoint Server - SharePoint Server (2)2016 Add content databases in SharePoint Server - SharePoint Server (3)2019 Add content databases in SharePoint Server - SharePoint Server (4)Subscription Edition Add content databases in SharePoint Server - SharePoint Server (5)SharePoint in Microsoft 365

You can add a content database to a SharePoint Server farm by using the SharePoint Central Administration website or Microsoft PowerShell. The tool that you use depends on the kind of environment that you have deployed, your schedule requirements, and service level agreements that you have made with your organization.

Before you begin

You can add a new content database or attach an existing content database from a backup file.

Before you begin this operation, review the following information about prerequisites:

  • The user account that is performing this operation must be a member of the Farm Administrators SharePoint group.

  • If you use Windows authentication to connect to SQL Server, the user account must be a member of the dbcreator fixed server role on the SQL Server instance where the database is to be created.

You can use the procedures that are described in this article to create a new content database and attach it to a web application. If you are using Windows authentication to connect to SQL Server, the user account must also be a member the SQL Server dbcreator fixed server role on the SQL Server instance where the database will be created. If you are using SQL authentication to connect to SQL Server, the SQL authentication account that you specify when you create the content database must have dbcreator permission on the SQL Server instance where the database will be created.

To add a content database to a web application by using Central Administration

  1. Verify that the user account that is performing this operation is a member of the Farm Administrators SharePoint group.

  2. Start Central Administration.

  3. On the SharePoint Central Administration website, click Application Management.

  4. In the Databases section, click Manage content databases.

  5. On the Manage Content Databases page, click Add a content database.

  6. On the Add Content Database page:

    • Specify a web application for the new database.

    • Specify a database server to host the new database.

    • Specify the authentication method that the new database will use and supply an account name and password, if they're necessary.

      Important

      The account name and password must already exist as a SQL Server login.

    • Specify the name of the failover database server, if one exists.

    • Specify the number of top-level sites that can be created before a warning is issued. By default, this is 2,000.

    • Specify the total number of top-level sites that can be created in the database. By default, this is 5,000.

  7. Click OK.

To add a content database to a web application by using PowerShell

  1. Verify that you have the following memberships:

    • securityadmin fixed server role on the SQL Server instance.

    • db_owner fixed database role on all databases that are to be updated.

    • Administrators group on the server on which you are running the PowerShell cmdlets.

    An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint Server cmdlets.

    Note

    If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about PowerShell permissions, see Add-SPShellAdmin.

  2. Open SharePoint Management Shell.

  3. At the PowerShell command prompt, type the following command:

    New-SPContentDatabase -Name <ContentDbName> -WebApplication <WebApplicationName>

    Where:

    • <ContentDbName> is the name of the content database to create.

    • <WebApplicationName> is the name of the web application to which the new database is attached.

    For more information, see New-SPContentDatabase.

Note

To attach an existing content database to a web application, use the Microsoft PowerShell cmdlet Mount-SPContentDatabase. For more information, see Mount-SPContentDatabase.

Note

We recommend that you use Microsoft PowerShell when performing command-line administrative tasks. The Stsadm command-line tool has been deprecated, but is included to support compatibility with previous product versions.

See also

Concepts

Attach or detach content databases in SharePoint Server

Move site collections between databases in SharePoint Server

Add content databases in SharePoint Server - SharePoint Server (2024)
Top Articles
How much does an India visa cost
Autodesk: 3D Design, Engineering Software | Pugh Computers
Katie Pavlich Bikini Photos
Pet For Sale Craigslist
Garrison Blacksmith Bench
Inducement Small Bribe
Tyrunt
Moviesda Dubbed Tamil Movies
2024 Non-Homestead Millage - Clarkston Community Schools
Pittsburgh Ultra Advanced Stain And Sealant Color Chart
Busted Barren County Ky
Tamilrockers Movies 2023 Download
Simplify: r^4+r^3-7r^2-r+6=0 Tiger Algebra Solver
Epro Warrant Search
Tygodnik Polityka - Polityka.pl
White Pages Corpus Christi
Craigslist List Albuquerque: Your Ultimate Guide to Buying, Selling, and Finding Everything - First Republic Craigslist
Xfinity Outage Map Fredericksburg Va
Kingdom Tattoo Ithaca Mi
Scripchat Gratis
15 Primewire Alternatives for Viewing Free Streams (2024)
Gs Dental Associates
Acurafinancialservices Com Home Page
§ 855 BGB - Besitzdiener - Gesetze
Dashboard Unt
Evil Dead Rise Showtimes Near Sierra Vista Cinemas 16
Effingham Daily News Police Report
Tamil Movies - Ogomovies
Where to eat: the 50 best restaurants in Freiburg im Breisgau
Things to do in Pearl City: Honolulu, HI Travel Guide by 10Best
Albertville Memorial Funeral Home Obituaries
Vlacs Maestro Login
Craigslist/Phx
Craigslist Cars And Trucks Mcallen
Manuel Pihakis Obituary
Teenbeautyfitness
Jay Gould co*ck
Morlan Chevrolet Sikeston
Hermann Memorial Urgent Care Near Me
Ukg Dimensions Urmc
Ludvigsen Mortuary Fremont Nebraska
Deshuesadero El Pulpo
Cranston Sewer Tax
Gfs Ordering Online
Shipping Container Storage Containers 40'HCs - general for sale - by dealer - craigslist
Craigslist/Nashville
Candise Yang Acupuncture
Go Nutrients Intestinal Edge Reviews
Lagrone Funeral Chapel & Crematory Obituaries
Factorio Green Circuit Setup
What Responsibilities Are Listed In Duties 2 3 And 4
Latest Posts
Article information

Author: Margart Wisoky

Last Updated:

Views: 6642

Rating: 4.8 / 5 (78 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Margart Wisoky

Birthday: 1993-05-13

Address: 2113 Abernathy Knoll, New Tamerafurt, CT 66893-2169

Phone: +25815234346805

Job: Central Developer

Hobby: Machining, Pottery, Rafting, Cosplaying, Jogging, Taekwondo, Scouting

Introduction: My name is Margart Wisoky, I am a gorgeous, shiny, successful, beautiful, adventurous, excited, pleasant person who loves writing and wants to share my knowledge and understanding with you.