How to Install mysql-client in Ubuntu 18.04



Install mysql-client by entering the following commands in the terminal:

sudo apt update
sudo apt install mysql-client

Description:

MySQL database client (metapackage depending on the latest version)

This is an empty package that depends on the current "best" version of mysql-client (currently mysql-client-5.7), as determined by the MySQL maintainers. Install this package if in doubt about which MySQL version you want, as this is the one considered to be in the best shape by the Maintainers.

Homepage: http://dev.mysql.com/

Version: 5.7.22-0ubuntu18.04.1

Section: database