admin/ April 15, 2016/ Linux/ 1 comments

To install latest MySql 5.7 on RHEL/Centos 7.
There are few steps follows-:

Step 1-:
Add the below EPEL Repository

Step 2-:
Install the MySql Server using below yum installer.

Step 3-:
Add to system Startup and start the Mysql Server.

Step 4-:
Reset the MySql server root password.

Output Something like-:

Use the above password during reset mysql_secure_installation process.

You have successfully reset the root password of MySql Server.

Step 5-:
Use the below command to check the mysql server connecting or not.

Output-:

1 Comment

  1. It didn’t work. I executed exactly the same commands until “sudo grep ‘temporary password’ /var/log/mysqld.log”
    which return nothing, because there is no temporary password in the log file
    I’m using the same version centos 7 and dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm
    but i can’t find the initial password anywhere…

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.