Mysql 5.7 in ubuntu 20
----------------------
wget wget https:
dpkg -i mysql-apt-config_0.8.12-1_all.deb
apt update
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29
apt update
#if it's fail
gpg --keyserver hkp:
gpg --export --armor B7B3B788A8D3785C | sudo apt-key add -
apt update
apt-get install -s mysql-client=5.7.42-1ubuntu18.04
apt-get install mysql-client=5.7.42-1ubuntu18.04
apt-get install -s mysql-community-server=5.7.42-1ubuntu18.04
apt-get install -s mysql-server=5.7.42-1ubuntu18.04
apt-get install mysql-community-server=5.7.42-1ubuntu18.04
apt-get install mysql-server=5.7.42-1ubuntu18.04
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
FLUSH PRIVILEGES;