[Osaka/Yokohama/Tokushima] Looking for infrastructure/server side engineers!

[Osaka/Yokohama/Tokushima] Looking for infrastructure/server side engineers!

[Deployed by over 500 companies] AWS construction, operation, maintenance, and monitoring services

[Deployed by over 500 companies] AWS construction, operation, maintenance, and monitoring services

[Successor to CentOS] AlmaLinux OS server construction/migration service

[Successor to CentOS] AlmaLinux OS server construction/migration service

[For WordPress only] Cloud server “Web Speed”

[For WordPress only] Cloud server “Web Speed”

How to install older versions of MySQL

Hello! This is Shimeji from the System Solutions Department.
He has been transferred to the SRE team since December, and is doing his best despite the confusion.

As the title suggests, you would like to install an older version of MySQL, but the repository may not be provided on the official website.
In such a case, please install it by following the steps below.
(The example below installs MySQL5.7.)

Download RPM Bundle file from official website

Download the RPM Bundle file of your desired version from the download page.
MySQL download page

Extracting files

Once the download is complete, unzip it.

1
tar -xvf mysql-5.7.24-1.el7.x86_64.rpm-bundle.tar

local installation

Locally install the RPM package you downloaded locally.
→ Please locally install the following using yum.
・mysql-community-server
・mysql-community-client
・mysql-community-common
・mysql-community-devel
・mysql-community-libs
・mysql-community-libs-compat

1
yum localinstall mysql-community-server-5.7.24-1.el7.x86_64.rpm mysql-community-client-5.7.24-1.el7.x86_64.rpm mysql-community-common-5.7.24-1.el7. x86_64.rpm mysql-community-devel-5.7.24-1.el7.x86_64.rpm mysql-community-libs-5.7.24-1.el7.x86_64.rpm mysql-community-libs-compat-5.7.24-1 .el7.x86_64.rpm

confirmation

Installation completed!

1
[root@localhost src]# mysql --version mysql Ver 14.14 Distrib 5.7.24, for Linux (x86_64) using EditLine wrapper

summary

I myself had trouble installing an older version of MySQL, so I hope this article is helpful to someone.
Thank you for your continued support this year.

If you found this article helpful , please give it a like!
3
Loading...
3 votes, average: 1.00 / 13
12,271
X facebook Hatena Bookmark pocket
[2026.6.30 Amazon Linux 2 end of support] Amazon Linux server migration solution

[2026.6.30 Amazon Linux 2 end of support] Amazon Linux server migration solution

The person who wrote this article

About the author

Shimeji mushrooms

CERTIFICATE:
- TOEIC 835
- LPIC304
- AWS Solution Architect Associate
- AWS Solution Architect Professional
- GCP Professional Cloud Architect
- IPA SC (not registered)

Kagome, Kagome,
the old man behind me, that's it.

It's my uncle. (2018)