Skip to main content

Create databases and database user accounts for ESET Security Management Center (7.x) - Kennisbank / Legacy / ESET Security Management Center / 7.x / Installation - ESET Tech Center

Create databases and database user accounts for ESET Security Management Center (7.x)

Authors list

Issue

  • You do not have an appropriate database for your ESMC Server installation
     
  • You want to set up a dedicated database user for MS SQL or MySQL

Details

Solution

How to create a database and user for ESET Security Management Center in MS SQL

A dedicated database must have at least one dedicated user

Do not use the same database user for more components or purposes. Each component (ESMC Server, MDM Server) needs its own database and database user.

Prerequisites:

  • You must have administrative access to the OS.
     
  • Microsoft SQL Server Management Studio must be installed (in this example SQL Server 2016 is used).
     
  • You must have an administrative account in Microsoft SQL Server Management Studio.
     

Create database:

  1. Open the MS SQL Server Management Studio and login with your Administrator account.
     
  2. In the Object Explorer right-click Databases and select New Database... from the context menu.
     
  3. Enter a name for your database. We recommend that you use a name that suits the database's purpose, like era_db.

    Type the database name in the Database name text box. You will need this name during the installation of ESET Security Management Center.
     
  4. Click OK and continue to the next section to assign a new user to your database.
     

Create and assign new user:

  1. Open MS SQL Server Management Studio and log in with your Administrator account.
     
  2. In Object Explorer, right-click Security → New → Login...
     
  3. Type the user name of your new user in the Login name field.
     
  4. Select the SQL Server authentication option.
     
  5. Set your new password and type it in the Password and Confirm password fields. You can also set other properties here, but it is not required.
     
  6. Select User Mapping and then click Map next to the database you created. Your user name should appear in the column User next to the database you selected.
     
  7. Select the field db_owner in the Database role membership window. Click OK to save your changes.
     

Figure 1-1

Keep your credentials safe!

You will need your database name and credentials (username and password) during ESET Security Management Center installation.


How to create a database and user for ESET Security Management Center in MySQL  

Prerequisites:

  • You must have administrative access to the OS.
     
  • MySQL must be installed.
     
  • You must have an administrator account in MySQL.
     
  • In this artice, we will use HeidiSQL as our administration tool. You can use a different tool or the command line to acheive the same results, however some steps may differ according to the tool you use.
     

Create database:

  1. Open your MySQL administration tool and log in to the local database using the root account and password. Set the Hostname as 127.0.0.1 .
     
  2. Click Open to open your session. Right-click root and select Create newDatabase from the context menu.
     
  3. Enter a name for your database. We recommend that you use a name that suits the database's purpose, like era_db.
     

Create and assign new user:

  1. Open your MySQL administration tool and log in to the local database using a root account.
     
  2. Set the Hostname to 127.0.0.1.
     
  3. Click Tools → User management and then click Add.
     
  4. Type name of new user in to the Username field. We recommend that you use a self-explanatory username like era_db_user. Set a secure password in the Password and Repeat password text boxes.
     
  5. Set the From host value to Access form everywhere.
     
  6. Click Add object, add the database you created earlier and then click OK.
     
  7. Under Allow access to, select the new database and mark the following properties:
    • ALTER 
    • ALTER ROUTINE
    • CREATE, CREATE ROUTINE
    • CREATE TEMPORARY TABLES
    • CREATE VIEW
    • DELETE, DROP
    • EXECUTE
    • INDEX
    • INSERT
    • LOCK TABLES
    • SELECT
    • UPDATE
    • TRIGGER.
       
  8. Click Save to confirm the user settings and then click Clone. You will now have two users with same name. For the newly copied user, change the value of From host to Access from server location only and then click Save.
     

Figure 1-2

Keep your credentials safe

You will need your database name and credentials (username and password) during ESET Security Management Center installation.

 


KB Solution ID: KB6852 |Document ID: 25804|Last Revised: August 16, 2018

Add a comment

Please log in or register to submit a comment.

Need a password reminder?