Instal MySQL 8 Linux
Step 1: Update/Upgrade Package Repository
sudo apt update
Step 2: Install MySQL
sudo apt install mysql-server
mysql --version
Step 3: Securing MySQL
sudo mysql_secure_installation
type y and 1 and enter a strong password
and answer y for rest of questions
Step 4: Check if MySQL Service Is Running
sudo systemctl status mysql
you must see active as a status
Step 5: Log in to MySQL Server
sudo mysql -u root
egyleader