Sunday, April 3, 2022

MySql- Installation on Ubuntu

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


0 comments:

Post a Comment