1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

AlmaLinux OS 9にMySQL 8.0をインストール(AppStream)

Posted at

はじめに

Application Stream(AppStream)を利用してAlmaLinux OS 9にMySQL8.0をインストール
親記事:MySQL, MariaDBの各種インストール方法とEOLまとめ - Qiita
参考:RHEL8のパッケージ構成 - BaseOSとApplication Stream - 赤帽エンジニアブログ

サポート

本手法で導入した場合、Red Hat Enterprise Linux Application Streams Life Cycle - Red Hat Customer Portalより、2026-04がEOLだと思われる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。

LOG

インストール

提供されるMySQLのバージョンが増えてモジュール化したときは @mysql:8.0 みたいな指定になるかもしれない(不明)

# cat /etc/redhat-release
AlmaLinux release 9.0 (Emerald Puma)

# yum install -y mysql-server
... 略

各種確認

# which mysql
/usr/bin/mysql

# which mysqld
/usr/sbin/mysqld

# yum info mysql-server
Last metadata expiration check: 0:03:45 ago on Wed Sep  7 13:45:46 2022.
Installed Packages
Name         : mysql-server
Version      : 8.0.28
Release      : 1.el9
Architecture : x86_64
Size         : 105 M
Source       : mysql-8.0.28-1.el9.src.rpm
Repository   : @System
From repo    : appstream
Summary      : The MySQL server and related files
URL          : http://www.mysql.com
License      : GPLv2 with exceptions and LGPLv2 and BSD
Description  : MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
             : client/server implementation consisting of a server daemon (mysqld)
             : and many different client programs and libraries. This package contains
             : the MySQL server and some accompanying files and directories.
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?