
Above is an example using the MySQLDatabase Property Sheet.
The Components chapter in this guide documents all properties. The following table indicates which properties are available based on the rdb database device.
| Property | HsqlDb (controller only) | MySQL | Oracle | SqlServer |
|---|---|---|---|---|
| Status (Information) | - | - | - | - |
| Enabled | √ | √ | √ | √ |
| Fault Cause (Information) | - | - | - | - |
| Health (Information) | - | - | - | |
| Alarm Source Info | √ | √ | √ | √ |
| Host Address | - | √ | √ | √ |
| User Name | √ | √ | √ | √ |
| Password | - | √ | √ | √ |
| Worker | √ | √ | √ | √ |
| Export Mode | √ | √ | √ | √ |
| Use Unicode Encoding Scheme | √ | √ | √ | √ |
| Timestamp Storage | √ | - | √ | √ |
| Points | √ | √ | √ | √ |
| Sql Scheme Enabled | √ | √ | √ | √ |
| Tls Min Protocol | - | √ | √ | √ |
| Verify Subject in Certificate | - | √ | √ | √ |
| Base Directory | √ | - | - | - |
| Database Name | √ | √ | - | - |
| Instance Name | - | - | - | √ |
| Service Name | - | - | √ | - |
| Port | - | √ | √ | √ |
| Histories | - | √ | √ | √ |
| Extra Connection Properties | - | √ | - | √ |
| Version | - | - | - | √ |
User Name and Password (database credentials)Database NameHost AddressUse Unicode Encoding Scheme to true.false and must be changed before you connect to your database for the first time.
Most databases (except MySQL) have a property called Timestamp Storage. This property can configure the driver to update and export history timestamps using Coordinated Universal Time (UTC).
Export Mode to By History Type as most database administrators would rather manage a few tables instead of thousands of individual tables.By History Type, the driver exports histories of the same data type (Boolean, Numeric, Enum, String) to the same table. For example, all
numeric type histories export to a table named HISTORYNUMERICTRENDRECORD. This table contains an additional column named HISTORY_ID,
which stores the history ID reference (ORD) from the station for each record in the table.
Timestamp Storage from the default (Dialect Default) to one of the UTC options.Dialect Default, you must set both Use Last Timestamp and Use History Config Time Zone to true. This exports histories using the History Config Timezone. If you set the two properties to false, the driver exports histories using the station timezone.
Selecting the Utc Timestamp takes precedence over the Use Last Timestamp and Use History Config Time Zone properties in the history device extension, rendering them effectively irrelevant.
Switching back and forth between Dialect Default and Utc Timestamp pollutes the database with inconsistent timestamps, which can negatively affect any query you run to determine whether or
not to export newer records.
Verify Subject in Certificate for the Rdbms driver to verify that the existing Subject in the server’s certificate matches the expected value.My Sql Server Cert drop–down list at the bottom of the Property Sheet.