install mysql locally on ubuntu code example
Example 1: install mysql ubuntu 18.04
sudo apt update
sudo apt install mysql-server
sudo mysql_secure_installation
Example 2: installing mysql on ubuntu
systemctl status mysql
sudo apt update
sudo apt install mysql-server
sudo mysql_secure_installation
systemctl status mysql