When setting up a SQL Server data folder, it’s important to ensure that the necessary users and permissions are applied to the folder where your SQL Server data files will reside. This ensures that SQL Server can access the folder correctly for storing and managing databases.
(It’s considered a good practice to place you data folder on a separate drive and the backups yet on another drive.)
Users and Permissions to Add
You need to add the following users and permissions to the folder:
- SYSTEM (obvious)
- Self (local or domain account - optional)
- <PC Name>\Administrators
- MSSQLSERVER (“NT Service\MSSQLSERVER”)
Replace <PC Name>
with the actual name of your computer.
Accessing SQL Server Configuration Manager
Most services and their properties can be configured using SQL Server Configuration Manager. Below are the paths to the configuration manager for different versions of SQL Server when Windows is installed on the C drive.
SQL Server Version | Path |
---|---|
SQL Server 2019 | C:\Windows\SysWOW64\SQLServerManager15.msc |
SQL Server 2017 | C:\Windows\SysWOW64\SQLServerManager14.msc |
SQL Server 2016 | C:\Windows\SysWOW64\SQLServerManager13.msc |
SQL Server 2014 (12.x) | C:\Windows\SysWOW64\SQLServerManager12.msc |
SQL Server 2012 (11.x) | C:\Windows\SysWOW64\SQLServerManager11.msc |
Note:
- Granting permissions should be done cautiously. Unnecessary access can pose security risks.
- If you’re unsure about any steps, consult a database administrator for guidance.