Connect ESET PROTECT Server or MDM to a database
Follow the steps below on the machine where ESET PROTECT Server or ESET PROTECT MDM is installed to connect it to a database.
1.Stop the ESET PROTECT Server/MDM service.
2.Find startupconfiguration.ini
•Windows:
Server:
%PROGRAMDATA%\ESET\RemoteAdministrator\Server\EraServerApplicationData\Configuration\startupconfiguration.ini |
MDMCore:
%PROGRAMDATA%\ESET\RemoteAdministrator\MDMCore\EraServerApplicationData\Configuration\startupconfiguration.ini |
•Linux:
Server:
/etc/opt/eset/RemoteAdministrator/Server/StartupConfiguration.ini |
MDMCore:
/etc/opt/eset/RemoteAdministrator/MDMCore/startupconfiguration.ini |
3.Change the database connection string in ESET PROTECT Server/MDM startupconfiguration.ini
oSet the address and port of the new database server.
oSet new ESET PROTECT username and password in the connection string.
The final result should look like:
•Microsoft SQL:
DatabaseType=MSSQLOdbc DatabaseConnectionString=Driver=SQL Server;Server=TARGETHOST,1433;Uid=TARGETLOGIN;Pwd={TARGETPASSWD};CharSet=utf8;Database=TARGETDBNAME; |
•MySQL:
DatabaseType=MySqlOdbc |
In the configuration above, please always replace: •TARGETHOST with the address of the target database server •TARGETDBNAME with the name of the target ESET PROTECT database (after migration) •TARGETLOGIN with the login name for the new ESET PROTECT database user on the target database server •TARGETPASSWD with the password of the new ESET PROTECT database user on the target database server |
4.Start the ESET PROTECT Server or ESET PROTECT MDM and verify that the service is running correctly.