How to Install Latest MySQL 8.0 on RHEL/CentOS and Fedora

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

103 Responses

  1. deepika says:

    Thanks a lot for the great article

  2. Meysam says:

    very nice.
    thank you for this perfect tutorial.

  3. ruby says:

    Thank you very much! I recently got a VPS for my projects and thought it would be the best solution for me. Turned out I had to update PHP/MySQL as there were older versions running with centos6.. Thank god there are posts like yours to help out noobs like me :)

    I just have the securing part to do and I am done.

  4. Sandeep machiraju says:

    Awesome. Works like great. It helped me a lot in struggling with RHEL dependency issues. Thanks

    BTW you can also mention: In order to install mysql5.7 (older versions) go to and find out for a newer version of mysql5.7 for RHEL6/7 version: i.e., ctrl+f and search for “mysql57-community-release-el7-” (or) “mysql57-community-release-el6-” [EL7 or EL6] and use that as wget and follow the same steps mentioned above

  5. Dipit says:

    Awesome, Awesome, Awesome, excellent article works like a charm without any errors..

  6. dastagir says:


    I am getting below while starting MySQL, please suggest

    # service mysqld start
    Redirecting to /bin/systemctl start mysqld.service
    Failed to start mysqld.service: Unit not found.
  7. Chaitanya says:


    Everything is fine, but how can i connect this database with workbench. I released port also but its not connecting.

    Thanks in advance.

Leave a Reply to Sandeep machiraju Cancel reply

Your email address will not be published. Required fields are marked *

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