When trying to connect to the MariaDB/MySQL server, the following error is thrown:
java.lang.ClassNotFoundException: org.mariadb.jdbc.Driver
To fix this, make sure java client JAR is in /java/ directory on IFS. If not, FTP mariadb-java-client-2.3.0.jar to IFS and update classpath environment variable:
- CHGENVVAR ENVVAR(CLASSPATH) LEVEL(*SYS) <F4>
- Copy JAR to /QIBM/userdata/Java400/ext/
Verify a connection can be made from Metalware to Reveal database.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article