How to Install libmysql-java in Ubuntu 18.04

Install libmysql-java by entering the following commands in the terminal:

sudo apt update
sudo apt install libmysql-java


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.


Version: 5.1.45-1

Section: universe/libs