download mysql server ubuntu code example
Example 1: install mysql ubuntu 18.04
sudo apt update
sudo apt install mysql-server
sudo mysql_secure_installation
Example 2: install mysql ubuntu
//follow this blog
https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-18-04