====== Ubuntu - MySQL - Install MySQL ======
===== Download the MySQL APT repository config tool =====
You can see more details and the latest version of the tool here: http://dev.mysql.com/downloads/repo/apt/
wget https://dev.mysql.com/get/mysql-apt-config_0.8.9-1_all.deb
----
===== Install the MySQL APT repository config tool =====
sudo dpkg -i mysql-apt-config_0.8.9-1_all.deb
You will be asked to select product and version that you want to install.
In the first step, select Server and next select either mysql-5.6 or mysql-5.7. Then click Apply.
----
===== Update APT =====
sudo apt update
----
===== Install the server =====
sudo apt install mysql-community-server