How to install MySQL server 5.6 or 5.7
apt install gnupg
wget https://dev.mysql.com/get/mysql-apt-config_0.8.9-1_all.deb
dpkg -i mysql-apt-config_0.8.9-1_all.deb
apt-key adv --keyserver keys.gnupg.net --recv-keys 8C718D3B5072E1F5
Copy/download the GPG key from https://dev.mysql.com/doc/refman/8.0/en/checking-gpg-signature.html
Save that into a file on the Debian server as mysql.pub
sudo apt-key add mysql.pub