MariaDB JDBC Driver - ClassNotFoundException

Created by Tyler Smith, Modified on Mon, 14 Jul at 3:35 PM by Tyler Smith

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:

  1. CHGENVVAR ENVVAR(CLASSPATH) LEVEL(*SYS)  <F4>
  2. A screenshot of a computer

AI-generated content may be incorrect.
  3. 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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article