Install libmysql-java by entering the following commands in the terminal:
sudo apt update sudo apt install libmysql-java
Description:
Java database (JDBC) driver for MySQL
MySQL Connector/J is a JDBC-4.2 Type 4 driver, which means that it is pure Java, implements version 4.2 of the JDBC specification, and communicates directly with the MySQL server using the MySQL protocol.
Homepage: http://www.mysql.com/products/connector/j/
Version: 5.1.45-1
Section: universe/libs