1sudo apt update
2sudo apt install mysql-server
3sudo mysql_secure_installation
1apt update
2apt install wget
3wget wget -c https://repo.mysql.com//mysql-apt-config_0.8.13-1_all.deb
4dpkg -i mysql-apt-config_0.8.13-1_all.deb
5apt update
6apt install mysql-server
1//follow this blog
2
3https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-18-04
1sudo su && sudo apt update && sudo apt install mysql-server && sudo mysql_secure_installation