Below are the steps used to install MySQL server. apt update apt install mysql-server mysql ALTER USER 'root'@'localhost' ID...
Below are the steps used to install MySQL server.
- apt update
- apt install mysql-server
- mysql
- ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
- FLUSH PRIVILEGES;
- exit
- Connect with username root and password.
- mysql -uroot -p
COMMENTS