install mysql 8 ubuntu 18.04 code example
Example 1: install mysql ubuntu 18.04
sudo apt update
sudo apt install mysql-server
sudo mysql_secure_installation
Example 2: uninstall mysql 8 ubuntu 20.04
sudo apt-get remove --purge mysql*
Example 3: ubuntu install mysql 8.0
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.11-1_all.deb