How to Install MySQL Server on Ubuntu 20.04

Опубликовано: 12 Сентябрь 2024
на канале: EaseCoding
2k
26

How to Install MySQL on Ubuntu 20.04,
how to install mysql in ubuntu using terminal,
how to install mysql in ubuntu 16.04 using terminal,
how to install mysql in ubuntu 18.04 using terminal,
install mysql ubuntu,
install mysql server ubuntu,
install mysql linux command line,





Commands
sudo apt update
sudo apt install mysql-server -y
sudo mysql
ALTER USER 'root' IDENTIFIED WITH mysql_native_password BY 'password';
FLUSH PRIVILEGES;
exit
mysql -u root -p