Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On the 'New Database Connection' configuration page shown above, configure the following fields:

  • Name - database localMySQL 
    Database connection name to be set in the 'Record Store' module.
  • Description
    Description - description of this database connection
  • Connect URL - connect  jdbc:mysql://localhost:3306/testdb
    Connect URL to the 'testdb' database that was created earlier
  • Username and password - MySQL user credentials- user
    MySQL username
  • Password - password
    MySQL user password

When the 'New Database Connection' configuration page is submitted, the localMySQL database connection will appear on the 'Database Connections' screen as shown below. Note that the status of this connection is set to 'Valid' which means that Ignition has established connection with the 'testdb' database.

Image Added

Configure the 'Record Store' Module:

As was mentioned above, the 'Record Store' module needs to be configured to point to the database connection just created. To do this go to the 'Record Store' module configuration page and set the 'Datasource' field to 'localMySQL' as shown below:

Image Added

Configure Ignition Tag Provider:

The next The second step is to configure the Tag Provider in Ignition in a way that MQTT Transmission understands. The Tag Provider needs to be set up in Ignition via the Ignition Designer.  Here is how to do this...

...

To launch it, click 'Launch Designer'

...

 Near the upper right corner of Ignition page. This will open the following window after downloading the JNLP file and executing it.  Note the default username/password is admin/password.  Type those into the appropriate fields and click 'Login'.

Image Modified

This

...

brings you to a new Window where you can select an Ignition Project or create a new one.  Create a new project by giving it a name and clicking 'Create New Project'.

Image Modified

In this example we

...

are going to use the "default" tag provider within Ignition Enterprise.  Expand 'All Providers' in the Tag Browser and select 'default' as shown below

...

. For the 'default' provider, create TestGroup/TestNode/TestDevice directory tree under 'Edge Nodes' and leave those folders empty.

Image AddedImage Added



asdsd