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