Install & Configure MySQL 8.0 in Redhat Enterprise Linux 7/8 | How to Install MySQL in Linux

preview_player
Показать описание
MySQL is an open-source relational database management system. Its name is a combination of "My", the name of co-founder Michael Widenius's daughter, and "SQL", the abbreviation for Structured Query Language.
======================================================
Install MySQL 8.0 on Red Hat Enterprise Linux 7/8:
---------------------------------------------------------------------------------
1) Login as root user. Download and add MySQL Yum Repository to Linux Repository

2) Install the downloaded package by using below command

3) Verify that the MySQL Yum repository has been added successfully
# yum repolist enabled | grep "mysql.*-community.*"

4) Install latest MySQL with below command:
# yum install mysql-community-server

5) Start MySQL Server, also enable it so that it can start it its on using below commands:
# systemctl start mysqld
# systemctl enable mysqld

Verify the status of the same.
# systemctl status mysqld

6) Secure MySQL Server:
When MySQL 8.0 version is installed, temporary password for root is created. Run below command to list the password.

7) Get the password and then run below command.
# mysql_secure_installation
Enter the password you got in previous command, then change it with a new password.
============================
Now test the configuration:

1) Check the status of mysql server.
# systemctl status mysqld

2) Log in the mysql.
# mysql -u root -p
Enter the password, you have successfully logged in to the mysql.

3) Run different mysql commands to verify that its working fine.
# show databases;
# create database new;

Thanks for watching.

================
Thanks for watching the video. Please like our videos, share with your friends and feel free to ask anything, post your queries in comments section. We will be glad to answer your queries. Don't forget to subscribe the channel & turn on the bell notifications.
===============
Our Some Popular Videos:

NAVIC:

Learn Linux Fundamentals:

Concept of All RAID Levels:

Configure RAID-0 in Linux:

Configure RAID-1 in Linux:

Configure RAID-5 in Linux:

Configure RAID-6 in Linux:

Configure RAID-10 in Linux:

LVM Snapshot:
====================================================
Contact Us:

To Follow Vikas Nehra's Twitter Handle:👇

For Registration:👇

To Follow Our Twitter Handle:👇

To Visit Our Facebook Page:👇

To Follow Nehra Classes on Instagram:👇

To Our Visit Our Webpage:👇

Join Us on Telegram App: 👇

WhatsApp Us: 👇

Email Us:👇
============
©COPYRIGHT. ALL RIGHTS RESERVED.

#NehraClasses #LinuxTraining #Trending
Рекомендации по теме
Комментарии
Автор

very clear and helpful explanation, all your videos have helped a lot to learn.
great job in making such useful stuff. :)

AP-sbvl
Автор

Excelente muy claro y facil de entender. muchas gracias me sirvio mucho.

williamramirez
Автор

can you please explain how to find and change the bind-address for centos installation of mysql server so that we can connect remotely to the system

udayada
Автор

Pls let me know how to install 8.0.18

opensourcetech
Автор

iam not getting temorary password in log

hamedhamed-oxty