Overview
This article provides an answer to the query: What SQL database roles are required for the user configured in GFI EventsManager?
Environment
EventsManager 2011 and older
Process
In order for GFI EventsManager to create, update and modify the database which is used to store the GFI EventsManager data, the user that is being used to connect to the database must have a db_owner role on the database. The rest of the article explains how to create a new SQL user and assign the db_owner
role to the user:
- Open SQL Server Management Studio.
- Log in with your SQL Administrator account.
- Expand the 'Security' folder.
- Right-click on the 'Logins' folder and select New Login.
- Enter the login name for the SQL user. You can also select a Windows user at this stage and continue with Windows Authentication.
- If you want to use SQL Server Authentication, select 'SQL Server authentication' and enter the password for the new user.
- Remove the option 'Enforce password expiration'.
- If you have already created the GFI EventsManager Database, perform the following:
- Click on the User Mapping Node.
- Tick Map for the GFI EventsManager database.
- Tick
db_owner
for the Database Role Membership. - Click OK to save changes.
- If you still have not created the GFI EventsManager Database and wish to create it with the GFI EventsManager SQL user, perform the following:
- Click on the Server Roles tab and tick the
dbcreator
server role. Any databases created by the user are automatically assigned thedb_owner
database role membership. - Click OK to save changes.
- Click on the Server Roles tab and tick the
The following procedure explains how to change the user being used to connect to the SQL Server by GFI EventsManager:
- Open the GFI EventsManager Management Console.
- Click on the Configuration tab and select Options.
- Right-click on the 'Database Backend' node and select Change Database Backend.
- In the Change Database tab, select the user created previously and click the Apply button to execute the changes or create the database.
- Click OK to save changes.