Oracle Linux

MySQL Yum Repository: An easy way to update or install MySQL products

The MySQL Yum Repository gives you a convenient and simple way to update or install MySQL's various products using Yum.

The MySQL Yum Repository gives you a convenient and simple way to update or install MySQL’s various products using Yum.

If you are using these Linux distros, you can use the MySQL Yum Repository:

  • Red Hat Enterprise Linux 7
  • Oracle Linux 7
  • Red Hat Enterprise Linux 6
  • Oracle Linux 6
  • Red Hat Enterprise Linux 5
  • Oracle Linux 5
  • Fedora 19
  • Fedora 20

In short, you can use the MySQL Yum Repository to install Enterprise Linux 5, 6 and 8-based platforms that are running on the correct versions of Oracle Linux, CentOS and Red Hat Enterprise Linux.

You can get the latest packages including general availability MySQL 5.6, development release MySQL 5.7, and MySQL 5.5 GA for Oracle Linux and Red Hat Enterprise Linux only.  You can install the client and other components using the same RPM Yum packages.

There are three scenarios in which you could use the MySQL Yum Repository.  The first is for a new installation where there are absolutely no MySQL versions are installed on the system.  You can also use the repository yum when you want to replace a native third-party MySQL distribution or when you want to replace your MySQL version that has been installed via a direct RPM download.

[expand title=”Click here to read more about this article”]

As you can imagine, there are different sets of instructions for each scenario.  For example, in a fresh install, you would need to download the appropriate release files from the MySQL Yum Repository at  After downloading, you would need to install the said release files using the command shell> sudo rpm -Uvh (put the label of the package here).

You would need to install MySQL with Yum by using this command: shell> sudo yum install mysql-community-server.

You can now start and stop the MySQL server and secure your installation.

You can also install MySQL components and products individually.

You can upgrade your MySQL using the MySQL Yum Repository in place.  What this means is that you will use MySQL Yum Repository to replace your existing MySQL versions and then have the new version use the old data files.  You can do this if you already have MySQL Yum Repository in placed.  You must remember, however, that by default, MySQL Yum Repository will only update to the latest version in the series. Meaning, if you are currently using a 5.6.1 installation, you will be upgraded to 5.6.x or the latest version of the 5.6 series.  You will not get version 5.7.

In order to get a higher version or series, you would need to disable the sub-repository for your installed version and allow the one for the target series.

Lastly, you can replace a native MySQL distribution that has been installed by default.  You would need to back up your entire database to make sure that you do not lose any data and then add MySQL Yum Repository to your system’s list of repositories.  Then do a yum update to replace your native distribution.

If you need to learn more about MySQL Yum Repository, call Four Cornerstone today.  We have a team of certified Oracle and MySQL experts who can help you and your business.[/expand]

Photo by MySQL.

Cloud Blog

4 Ways To Benefit from…

One of the benefits you get when you work with cloud applications is that you often have quarterly updates that are packed with features. This...

Keep Reading

Artificial Intelligence

Data and Analytics: Cross the…

  Artificial intelligence is a manna sent from digital heaven. That’s how blessed your business can get if you immerse into the AI of things....

Keep Reading

Business Intelligence Blog

How Brand Names Survive in…

  The age of digital marketplace has made it possible for unknown and smaller companies to compete with better-known and well-established brands. Take for example...

Keep Reading

Artificial Intelligence

The Phenomenon That Is Artificial…

  Artificial intelligence is when a machine does cognitive functions that are more associated with humans, such as thinking, learning, problem solving, and reasoning. As...

Keep Reading


Digital Transformation in Banking: Shift…

  The start of a new decade is already shaping up to be exciting for financial services, especially for banks as they continue to compete...

Keep Reading

Business Intelligence Blog

Data Science and Its Economic…

It would seem that artificial intelligence is the focus of businesses that are looking to future proof their organizations and stay competitive. And why not?...

Keep Reading

Data Blog

Ensure Efficient Data Science and…

In an ever-expanding landscape called Internet of Things and the exploding development of artificial intelligence, we are bombarded with complex methods of integrating data science...

Keep Reading

Business Intelligence Blog

Cybersecurity: The Top 5 Expectations…

  If you think about it, cybersecurity is closely tied to human rights, privacy, freedom, and even basic safety. As a whole, we have become...

Keep Reading

Business Intelligence Blog

Tech Security Should Be Easy…

  IT professionals know that tech security is important in everything that they do. And that there are a lot of products, tools, innovations, and...

Keep Reading

Business Intelligence Blog

The Top 6 Success Stories…

Nearly nine out of 10 digital transformation initiatives fail. Digital transformation projects fail for a variety of reasons. It can be because of a lack...

Keep Reading

Live Chat | Emergency