how to install mysql 5.7 on 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: install mysql in ubuntu
systemctl status mysql.service
sudo apt update
sudo apt install mysql-server
sudo mysql_secure_installation
systemctl status mysql.service