Connector/J driver problems on RedHat 8

I followed the guide here, using mysql-connector-java-8.0.16-1.el7.noarch.rpm

I was able to install it using yum (local install) but Ignition still shows (see below)

My class name is: com.mysql.cj.jdbc.Driver

I tried restarting the Redhat server but the error still persists.

I am using RedHat 8, 64bit
Ignition: 8.0.1 (b2019050708)
Java Version: 11.0.2+7-LTS

Installing the driver isn’t sufficient - you need to go into the settings for the MySQL driver (in Ignition) and upload the .jar file the .rpm file contains (best guess, it will be mysql-connector-java.jar in /usr/share/java/, based on the path in .rpm). Or, manually place it into /usr/local/bin/ignition/data/user-lib/jdbc (actual install path may be slightly different) and restart the gateway.

Perfect, that worked!!

1 Like