Installing JDBC drivers
Informer ships with standard SQL database drivers for many common database types. To connect to a SQL database that is not supported by default, add a custom JDBC (Java Database Connectivity) driver. These drivers are maintained by the database providers; many are free on the provider's support site, while some are proprietary and require a paid account.
For setting up the Datasource afterward, see the Datasources section.
Windows
- Download the JDBC
.jarfrom the database provider and place it in the./javadirectory inside the Informer install directory (for example,C:\Entrinsik\Informer5\java). Create the folder if it does not exist. - Restart the Informer service to apply the change.
Linux (Docker)
-
Under the
volumessection of all three Informer containers, add this line if it is not already present:- ./java/plugins:/informer/java/pluginsA container's
volumessection then looks like:volumes:- ./plugins:/informer/plugins- ./java/plugins:/informer/java/plugins- ./config.json:/informer/config.json -
Edit
config.jsonand add ajavaDir:"javaDir": "/informer/java/plugins"For example:
{"http": "80","https": "443","javaDir": "/informer/java/plugins","loadBalancer": {"rules": [{ "regex": ".*\\/jobs\\/[^\\/]*$", "url": "http://informer-schedules" },{ "regex": ".*_(query|run|refresh)+", "url": "http://informer-query" },{ "regex": "$", "url": "http://informer-api" }]}} -
Download the JDBC
.jarfrom the database provider and place it in the./java/pluginsfolder in the Informer install directory. Create the folder if it does not exist. -
Stop and remove each Informer container.
-
Restart the containers to apply the change.