In this article I will show how to install MYSQL client and server packages. To Install simply run the below command in Terminal.
sudo apt-get install mysql-server mysql-client
You will be prompt for the administrator password before the installation begins, Supply a valid password. And then follow the
instructions on the console, Once done the installation will prompt for the MYSQL Root password,
by default the password is blank(empty). Set a Valid ROOT user password to run MYSQL.
Once the operation is done, clear the console and type the below command to run the MYSQL.
mysql -u root -p
MYSQL will prompt for the root password, supply the same which you have set during installation.
Hope this helps.