1 is apt to add to the repository mysql
The first step, ppa download files provided by mysql
wget https://dev.mysql.com/get/mysql-apt-config_0.8.13-1_all.deb
Adding to mysql apt in the repository.
sudo dpkg -i mysql-apt-config_*.deb
The second step, the update package cache
sudo apt-get update
The third step, the real implementation of mysql server installation
sudo apt-get install mysql-community-server -y
2 on mysql-community-server and mysql-server