How to install MySQL Server 8 in RHEL7.2 using yum repository

How to install MySQL Server 8 in RHEL7.2 using yum repository

Learn Cloud & DB in telugu

4 года назад

439 Просмотров

In this video you can find step by step how to Install MySQL Server 8.0 on Redhat Enterprise Linux 7.2 Operating System, below you can find the steps

==========================================================
How to Install MySQL 8.0 on RHEL 7

==Same steps you can follow for CentOS 7 and Fedora 30
--- you can find the version of redhat linux
#cat /etc/redhat-release

--------------- On RHEL/CentOS 7 ---------------
# wget https://repo.mysql.com/mysql80-community-release-el7-1.noarch.rpm
# yum localinstall mysql80-community-release-el7-1.noarch.rpm

You can verify that the MySQL Yum repository has been added successfully by using the following command.

#yum repolist enabled | grep "mysql.*-community.*"
#yum install mysql-community-server

After successful installation of MySQL, to start the MySQL server as mentioned below,
#service mysqld start
#service mysqld status
# mysql --version

==Note: Enter new Root password means your temporary password from a file /var/log/mysqld.log.
# grep 'temporary password' /var/log/mysqld.log
# mysql_secure_installation
Ссылки и html тэги не поддерживаются


Комментарии: