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.

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 http://dev.mysql.com/downloads/repo/yum/.  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.

Photo by MySQL.

Uncategorized

Security Trends For 2024: SBOMs

A recent article on Forbes, linked below, lists five security trends that are likely to be important in 2024. Of course, AI-related security topics top...

Keep Reading

Uncategorized

Getting started with your first…

Anyone looking at writing their first Generative AI application should read this to save time. In June 2023, Google Cloud published a useful blog post,...

Keep Reading

Uncategorized

Read-Write and Read-Only query splitting…

Optimize the usage of the standby (secondary) read-only MySQL InnoDB Cluster servers by automatically and transparently distributing read-queries to them. A great feature in MySQL...

Keep Reading

Uncategorized

Considering Cloud Diversification?

Moving an enterprise to a Public Cloud can quickly feel like moving into a locked-in relationship with the Cloud vendor. One solution to diminish this...

Keep Reading

Uncategorized

Gartner: Global cloud consumption will…

Gartner forecasts that 2024 will see a 20% global cloud consumption increase from 2023 to $679B, while 2023 has seen an 18% increase from 2022...

Keep Reading

Uncategorized

ByteDance: Use AI for tuning…

ZDNet is reporting that a ByteDance (the maker of TikTok) Linux kernel developer has proposed to implement AI to tune the performance of Linux systems...

Keep Reading

AI Governance

What is AI TRiSM?

If reading now about AI TRiSM for the first time, it might be good read on and learn what it’s about because it leads the...

Keep Reading

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

Live Chat | Emergency