Create and configure SQL Server login
- Last UpdatedFeb 14, 2025
- 1 minute read
- PI System
- PI Server 2018
- PI Server
Create a SQL Server login, grant the SQL Server login account access to the PI AF SQL Server database (typically called PIFD), and grant the SQL Server user the database role.
-
In the Microsoft SQL Server Management Studio, connect to the SQL Server instance that stores the PI AF SQL Server database (PIFD).
-
Under the SQL Server instance, expand Security > Logins.
-
Create a new login and enter a name in the Login name field.
-
Select the SQL Server authentication option.
-
Enter the password in the Password and Confirm password fields.
-
In Default database, select PIFD.
-
Select the User Mapping page.
-
Select the row for the PIFD database.
-
Select the Map check box for the PIFD database.
-
Under Database role membership for: PIFD, select the db_AFServer check box.
-
Click OK.