MySQL provides connectivity for client applications developed in the Java programming language with MySQL Connector/J, a driver that implements the Java Database Connectivity (JDBC) API and also MySQL ...
Download the MySQL Connector/J JAR file from MySQL Downloads if not included in the project. Add the JAR file to your project’s classpath: IDE: Add the JAR to the project’s library/dependencies.