Install MySQL Server on Ubuntu 16.04


This video tutorial shows you how to install MySQL on an Ubuntu 16.04.

The installation is really simple and requires just a few commands to be entered. This tutorial also shows you how to secure your MySQL instance.


Install MySQL Server

Video covers installing MySQL server on Ubuntu 16.04. The Ubuntu server and desktop steps are the same.

Commands that are used in this video are as follows:

sudo apt-get update
sudo apt-get install mysql-server mysql-client
ps -ef | grep mysql
sudo mysql_secure_installation
mysql -p -u root

Once you have logged into the database, then you can run the SQL command below.

show databases;
Updated: 2021-06-13 | Posted: 2018-02-07
Author: Kenny Robinson