MySQL is still one of the most popular database systems. To install the latest server version from the official archives under Debian, you only need a few commands:
Add official MySQL archive
echo 'deb http://repo.mysql.com/apt/debian/ jessie mysql-5.7' > /etc/apt/sources.list.d/mysql.list
Ensure that APT can communicate via HTTPS
apt-get install apt-transport-https
Import archive key
apt-key adv -keyserver pgp.with.edu -recv-keys 5072E1F5
Update Apt
apt-get update
Install MySQL 5.7
apt-get install mysql-community-client mysql-community-server
Leave a comment now