1. Adding the MySQL Yum Repository
Centos 8 - #wget https://repo.mysql.com/mysql80-community-release-el8-1.noarch.rpm
Centos 7 - #wget https://repo.mysql.com/mysql80-community-release-el7-1.noarch.rpm
Centos 6 - #wget https://dev.mysql.com/get/mysql80-community-release-el6-1.noarch.rpm
2. Installing Latest MySQL Version
#yum install mysql-community-server
3. Installing MySQL Release Series
#yum-config-manager --disable mysql57-community
#yum-config-manager --disable mysql56-community
4. Starting the MySQL Server
#service mysqld start
#service mysqld status
#mysql --version
5. Securing the MySQL Installation
#grep 'temporary password' /var/log/mysqld.log
#mysql_secure_installation
6. Connecting to MySQL Server
#mysql -u root -p
7. Updating MySQL with Yum
#yum update mysql-server
Source:
0 comments:
Post a Comment