Multiple Data Sources
Supported Databases
The commercial edition has been adapted for the following databases:
MySQL -- 5.7
PostgreSQL -- 13.x, 14.x
DM -- DM8
Kingbase -- V9 MySQL-compatible edition
SQL Server -- tested with 2017
Oracle -- 11c, 12cSwitching Data Sources
Install the target database before changing the configuration. The source sql directory contains the initialization SQL for each supported datasource.
The application-sql configuration file contains datasource configuration examples.

For a development or production environment, copy the configuration for the target database from application-sql into application-dev or application-prod to enable it.

Before switching, verify the JDBC driver, connection URL, account permissions, character set, and time zone. Keep the initialization and upgrade SQL aligned with the target database, then verify login, product management, device management, rules, alarms, and reports before launch.


