How to Install MySQL Server on Ubuntu 20.04? [Hindi/Urdu] 🔥🔥🔥
6.1 هزار بار بازدید -
3 سال پیش
-
Hey Guys,In this video tutorial,
Hey Guys,
In this video tutorial, we will cover how to Install MySQL Server on Ubuntu 20.04 LTS in Hindi?
Follow the steps below:
Step 1: Update Software Packages
---------------------
sudo apt update
sudo apt upgrade
Step 2: Install MySQL Server
---------------------
sudo apt install mysql-server
Step 3: Verify MySQL Service Status
---------------------
sudo systemctl status mysql
mysql --version
Step 4: Enable MySQL Service on Startup
---------------------
sudo systemctl enable mysql
Step 5: Securing MySQL
---------------------
sudo mysql_secure_installation
Step 6: Log in to MySQL Server
---------------------
sudo mysql
OR
sudo mysql -u root
Step 7: Set MySQL Root Password
---------------------
SELECT user,authentication_string,plugin,host FROM mysql.user;
ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'password_here';
FLUSH PRIVILEGES;
exit;
sudo systemctl restart mysql
sudo mysql -u root -p
Step 8: Create MySQL Database
---------------------
SHOW DATABASES;
CREATE DATABASE mydb;
sudo mysql -u root -p
Useful MySQL Commands
---------------------
sudo systemctl stop mysql #stop mysql
sudo systemctl start mysql #start mysql
sudo systemctl restart mysql #restart mysql
sudo systemctl disable mysql #disable mysql
sudo systemctl enable mysql #enable mysql
Please Like, Share, Comment and Subscribe for more videos and updates!!
Subscribe: https://bit.ly/3quxBnt
Queries Solved:
1) how to install mysql in ubuntu 20.04?
2) how to install mysql 8.0 in ubuntu 20.04?
3) how to install mysql in ubuntu 20.04 using terminal?
4) install mysql in ubuntu
5) install mysql ubuntu 20.04
6) install mysql on linux
7) mysql installation in linux
Social Links: [FOLLOW]
Facebook: https://fb.com/WebShouters/
Twitter: Twitter: WebShouters
Instagram: Instagram: WebShouters
#Ubuntu #Linux #MySQL #MySQL8.0
In this video tutorial, we will cover how to Install MySQL Server on Ubuntu 20.04 LTS in Hindi?
Follow the steps below:
Step 1: Update Software Packages
---------------------
sudo apt update
sudo apt upgrade
Step 2: Install MySQL Server
---------------------
sudo apt install mysql-server
Step 3: Verify MySQL Service Status
---------------------
sudo systemctl status mysql
mysql --version
Step 4: Enable MySQL Service on Startup
---------------------
sudo systemctl enable mysql
Step 5: Securing MySQL
---------------------
sudo mysql_secure_installation
Step 6: Log in to MySQL Server
---------------------
sudo mysql
OR
sudo mysql -u root
Step 7: Set MySQL Root Password
---------------------
SELECT user,authentication_string,plugin,host FROM mysql.user;
ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'password_here';
FLUSH PRIVILEGES;
exit;
sudo systemctl restart mysql
sudo mysql -u root -p
Step 8: Create MySQL Database
---------------------
SHOW DATABASES;
CREATE DATABASE mydb;
sudo mysql -u root -p
Useful MySQL Commands
---------------------
sudo systemctl stop mysql #stop mysql
sudo systemctl start mysql #start mysql
sudo systemctl restart mysql #restart mysql
sudo systemctl disable mysql #disable mysql
sudo systemctl enable mysql #enable mysql
Please Like, Share, Comment and Subscribe for more videos and updates!!
Subscribe: https://bit.ly/3quxBnt
Queries Solved:
1) how to install mysql in ubuntu 20.04?
2) how to install mysql 8.0 in ubuntu 20.04?
3) how to install mysql in ubuntu 20.04 using terminal?
4) install mysql in ubuntu
5) install mysql ubuntu 20.04
6) install mysql on linux
7) mysql installation in linux
Social Links: [FOLLOW]
Facebook: https://fb.com/WebShouters/
Twitter: Twitter: WebShouters
Instagram: Instagram: WebShouters
#Ubuntu #Linux #MySQL #MySQL8.0
3 سال پیش
در تاریخ 1400/04/21 منتشر شده
است.
6,164
بـار بازدید شده