0
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.

Amazon Linux 2 に MySQL 8.0 をインストールするメモ

Last updated at Posted at 2022-05-25

手順を良く忘れるのでメモ。
記事執筆時の情報なので、時間経過と共に変わる点には注意。

# el7-6 の 6 の部分は今後数値が変わることがある
$ sudo yum install https://dev.mysql.com/get/mysql80-community-release-el7-6.noarch.rpm
# yum が動かないケースがあったので、その場合は以下のコマンドで
# $ sudo rpm -ivh https://dev.mysql.com/get/mysql80-community-release-el7-6.noarch.rpm
# GPG鍵が 2022 年に更新されているのでアップデート
$ sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
# mysql をインストール (ここではクライアントのみ)
$ sudo yum -y install mysql

参考

0
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
0
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?