MySQL Setup
Installation of My SQL
- run this Command in Linux Terminal to install MySQL
sudo apt install mysql-server
MySQL Root User Creation
-
After the installation of MySQL run this command to start MySQL
sudo mysql
-
To Create Root user for this use this Commmand (This command will be run in MySQL terminal )
alter user 'root'@'localhost' identified with mysql_native_password by 'root@123?'
Root User's PasswordNote Down RootUser Password. It will br the main Admin of MySQL. So It's Crucial
-
To get exit from MySQL Terminal type
exit