Configuring MSSQL Database


EventLog Analyzer lets users to configure and use MSSQL database.


The procedure to configure the MSSQL is applicable only for fresh installation of EventLog Analyzer server.

If you are already using the EventLog Analyzer with MySQL and you want to change the database to MSSQL, please refer the Migrating EventLog Analyzer Data from MySQL to MSSQL Database page and follow the procedure given there.


The steps to configure and run the Eventlog Analyzer server with SQLSERVER as the database is given below:

  1. From the installed MS SQLSERVER, copy the files bcp.exe and bcp.rll to <Eventlog Analyzer Home>\mysql\bin folder.

    Note: If you are copying the above file from SQL Server (Version 2005 & above) installed server and the EventLog Analyzer is installed in other machine, please install the following SQL Native Client in the EventLog Analyzer machine as per the SQL vesion and CPU type of EventLog Analyzer machine.


    MSSQL 2005 (32 bit)


    MSSQL 2005 (64 bit)


    MSSQL 2008 (32 bit)


    MSSQL 2008 (64 bit)

  1. Invoke the <Eventlog Analyzer Home>\tools\changeDBServer.bat, to configure the MS SQLSERVER credentials like ServerName, Port, UserName and Password.
  2. Database Setup Wizard pops-up.
  3. In the wizard screen, select Server Type as SQL Server. Available SQL Server Instances are listed in a combo box. Enter the Host Name and Port of the SQL Server from the instances.
  4. Select the authentication type using the "Connect Using:" options.
  5. The options are:
    1. Windows Authentication

    For Windows Authentication, enter the Domain Name, User Name and Password. Ensure that both EventLog Analyzer server and SQL Server are in the same domain and logged in with the same Domain Administrator account.


Windows Authentication

    1. SQL Server Authentication

    For SQL Server Authentication, enter the User Name and Password.


SQL Authentication



    Note: Details about user roles: Refer the documents in the following links: For Server Level Roles: For Database Level Roles: For additional resources:


    For Windows authentication or SQL server authentication, Server Role of the user should be 'sysadmin' and Database Role of the user should be 'db_owner'.

    The members of sysadmin server role can perform any activity in SQL Server and have completes control over all database functions.

    The members of db_owner database role can perform any activity in the database.

  1. Click Test button to check whether the credentials are correct. If the test fails, the credentials may be wrong, recheck and enter the correct credentials.
  2. Clcik Save button to save the SQL Server configuration. Note that, it will take few minutes to configure the settings of the SQL Server database.
  3. Start the Eventlog Analyzer Server/Service to work with the MS SQLSERVER as the database.

From the installed MS SQLSERVER, copy the files bcp.exe and bcp.rll to <Eventlog Analyzer Home>\mysql\bin folder.


Copyright © 2012, ZOHO Corp. All Rights Reserved.