Configuration

<< Click to Display Table of Contents >>

Raynet One Data Hub > 14.0 u1 > Installation Guide > Data Hub > Windows > MariaDB 

Configuration

After Raynet One Data Hub has been installed, it is necessary to edit the appsettings.json. The file can be found in the InstallDir, by default C:\Program Files (x86)\RayVentoryDataHub.

 

In the connectionStrings section, change the following information:

 

1.Change Driver from mssql to mysql.

2.Change System so that it matches with the database server that will be used. The following options need to be changed.

Server

User ID

Password

3.Copy the System connectionstring and replace the ReportDatabase connectionstring with the one that has been used for System.

 

},

  "connectionStrings": {

    "Driver": "mssql",

    "System": "Server=192.168.125.151;Database=RayVentoryDataHub;
      User Id=raynet;Password=raynet123",

    "ReportDatabase": "Data Source=192.168.125.151;Initial Catalog=master;
      User Id=raynet;Password=raynet123"

  },

 

When starting Raynet One Data Hub for the first time, all necessary tables will now be created in the database.