Cannot load JDBC driver class ‘com.mysql.jdbc.Driver’ on Intellij

Cannot load JDBC driver class ‘com.mysql.jdbc.Driver’ on Intellij is an error shows due to driver files missing. To resolve an issue like this follow the following procedure.

How to add the JDBC library using Intellij:
Steps
1.) Goto View -> Tool Windows -> Database.
2.) Now, Select a database and click the icon for data source properties (cmd+i).
3.) Goto MySQL in the Drivers section.
4.) In the same window, left under driver files (there will be an options to download) click to download.

Cannot load JDBC driver class ‘com.mysql.jdbc.Driver’ on Intellij, is a driver missing probelm.

Leave a Comment

Your email address will not be published. Required fields are marked *