Setting up the Supervisor’s database password

When you upgrade a Supervisor station from AX to N4, the migrator preserves the password for the Supervisor’s third-party database (MySQL, Oracle, MS SqlServer).
Prerequisites: The third-party database exists in the Supervisor station.
If no database exists in the Supervisor station, create the new database schema and import to the new schema the database tables that you previously exported.
Perform the following steps:
  1. Using a browser (web UI), make a connection to the station.
  2. Click System Setup > Miscellaneous > Configure Database.
    The Configure Database view opens to the Database Services tab.
  3. Select the Database tab, for example, MySQLDatabase or SqlServerDatabase.
    The selected database (MySQLDatabase or SqlServerDatabase.) tab opens.
    Image
  4. Confirm that:
    • Enabled is set to true.
    • Host Address is localhost (for the Supervisor station).
    • User Name is correct for the password.
    • Database Name matches the name of the database.
  5. To change the Password type a new, strong password and click Save.
    The password must contain a minimum of 10 alphanumeric-only characters along with these special characters: @ # ! $ & + > < ] [ ) ( . The password strength check requires at least: 1 digit, 1 upper case character and 1 lower case character.
    After making any database change, the framework restarts the station. After the station restarts, the database should connect using the new credentials, providing data communication from the newly-connected database.

If Status is {down} and Fault Cause reports that Workbench cannot find the connector even though a connector is in the C:\Niagara\Niagara-home\jre\lib\ext folder, make sure that the connector you are using is compatible with the MySQL software version. For example, version 5 connector will not work with MySQL version 8.

The User Name to define on the MySQLDatabase tab is the database User Name, not your station's User name.