Skip to content

Multiple Data Sources ​

Supported Databases ​

The commercial edition has been adapted for the following databases:

shell
MySQL -- 5.7
PostgreSQL -- 13.x, 14.x
DM -- DM8
Kingbase -- V9 MySQL-compatible edition
SQL Server -- tested with 2017
Oracle -- 11c, 12c

Switching 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.

Datasource switching configuration example

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.

Environment-specific datasource configuration example

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.