install mysql 8 ubuntu 18.04
apt update
apt install wget
wget wget -c https://repo.mysql.com//mysql-apt-config_0.8.13-1_all.deb
dpkg -i mysql-apt-config_0.8.13-1_all.deb
apt update
apt install mysql-server
install mysql 8 ubuntu 18.04
apt update
apt install wget
wget wget -c https://repo.mysql.com//mysql-apt-config_0.8.13-1_all.deb
dpkg -i mysql-apt-config_0.8.13-1_all.deb
apt update
apt install mysql-server
install 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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us