How to use MS SQL Server as the database?

This document will explain the steps in using MS SQL database for storing the configuration and data.

  1. To configure MS SQL as the back-end database.
  2. To set up a fresh MS SQL database or migrate data from an existing database to new MS SQL database.

Note:

  1. Supported versions: MS SQL 2005 or later versions.
  2. If you are using "Failover Server" contact our support team for migration assistance.
  3. This document is applicable for migrating from PGSQL to MSSQL or from one MSSQL server to another.

Change the Database Server to MS SQL

The following steps will explain you, to backup the data from the old server, change the database server and restore the data in the MS SQL database.

  1. Click here and know the steps to configure SQL server (Proceed with step 2 if the SQL server is already configured).
  2. Migrating the database to SQL server
    From the computer where the central Server is installed, perform the steps given below:
    1. Stop the Web Console.
    2. Execute the script change DBServer.bat available under <Home>/bin directory. This invokes the Database Setup wizard.
    3. Select Database Type as SQL Server.
    4. Specify the Host Name where SQL Server is installed.
    5. From the list of available SQL Server instances, select the instance on which you wish to run the database.
    6. You can choose to authenticate the database connection either using Windows Authentication or SQL Server Authentication. Choose the required authentication and provide the credentials.
    7. Click the checkbox to enable NTLM authentication.
    8. Have the "Migrate Data from Existing Database" check box enabled if you want to migrate your existing database to MSSQL.

      Note: This is applicable only if you wanted to migrate your existing database to MS SQL. If you are trying to create a fresh set up, then you can ignore this step.

    9. Click Save to save and complete the SQL Server Configuration. It may be noted that it will take a few minutes to configure the settings on the SQL server.

download-remote-office-new

Fig: Windows Authentication

download-remote-office-new

Fig: SQL Server Authentication

  • One of the best practise recommended is to, Click Test to check whether a connection could be established with the given credential.
  • This might take several minutes, the size of your database determines the time taken.

     You can start using the server which has been migrated from the previous location.