Database configuration tabs (MySQL and SqlServer databases)

MySQL is an open-source relational database management system (RDBMS) supported by Oracle Corporation. SqlServer is a relational database management system developed by Microsoft. The properties required to configure these databases are similar to one another.
Figure 342.   MySQL database properties
Image

You access this tab from the main menu in a Supervisor station by clicking System Setup > Miscellaneous > Configure Database, followed by clicking the MySQLDatabase tab.

Properties

In addition to the standard properties (Status, Enabled, Fault Cause, Health, and Alarm Source Info), these properties support the MySQL database.

Property Value Description
Host Address IP address Defines the IP address of the computer platform where the database resides.
User Name text Defines the user name credential with which to log in to the database.

For MySQL databases, this should be a name other than the default, “root,” which only connects to a database hosted on localhost.

Password two properties The Password property defines a password that is used to log in to the database. The Confirm property must be an exact match to the Password property.
Database Name text Defines the name of the database to connect to. If the database does not already exist, the system creates it when you save the property sheet with a completed Base Directory and Database Name.
Port number Specifies the port to use when connecting to the database.

Common default values are:

HsqlDbDatabase - no port is specified because this rdb is for local database use only.

MySQLDatabase - Port 3306

SqlServerDatabase - Port 1433

Extra Connection Properties semicolon list of property,value pairs in the form “property=value;...” Properties, such as charset, define values to use when connecting to the database.
Max Active Connections number Defines the maximum number of active connections that can be allocated from this pool at the same time. Changing this property requires a station restart.
Peak Active Connections number Defines the peak number of active connections in the pool.
Active Connections number Defines the number of current active connections in the pool.