SQL Server Authentication
During installation, SEI requires an administrator login on the SQL Server for database deployment.
While the built-in sa account provides full permissions, it is strongly recommended to create and use a dedicated SQL Server login for SEI. This approach increases security and avoids relying on the sa user for routine access.
Create a dedicated SQL Server login
You can use a custom SEI login for secure access:
- Assign the sysadmin role to your SEI Login for the installation process.
- After installation completes, you may remove the sysadmin role.
The SEI login will retaindbo(database owner) rights for SEI databases and will havedb_ownerby default. - If the Login was created after running the installer, ensure you set up the correct database mapping and permissions in SQL Server Management Studio (SSMS).
- For maximum compatibility, leave the
db_ownerrole checked. For a more restrictive, minimum set, select only:db_datareaderdb_datawriterdb_ddladmin
Enable Windows Authentication
Windows Authentication provides secure, credential-free access with native integration to your Windows environment. This avoids password exposure and leverages Windows account security.
note
The same database permissions apply whether you use SQL Authentication or Windows Authentication.
- Open SQL Server Management Studio (SSMS).
- Connect to your SQL Server instance with an admin account.
- In Object Explorer, expand the Security node.
- Right-click Logins and select New Login.
- In the Login window:
- Select Windows authentication.
- Click Search and find the Windows user, such as
YourMachineName\NecBIAccount. - Click Ok.
- Under Logins, double-click the server name for your new user.
- In the left pane, go to Server Roles and select sysadmin for installation, or map only the needed database roles after install.
- In User Mapping, select the databases and assign appropriate roles (same minimum or maximum set as for SQL authentication).
- Click Ok to save.