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.

MySQLのインストールでGPG キーによるエラー解消

Posted at

MySQLのインストールで下記のエラーがでてつまずいたためメモ程度に解消法を記載しておきます。

下記を実行する事でMySQLをインストールすることができるのですが、

sudo yum install -y mysql-community-server

下記のエラーがでてしまっていました。

Failing package is: mysql-community-client-8.0.36-1.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

これはMySQLのバージョンに対応したGPGキーへ更新することで解消されます。

rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2023

MYsqLのバージョンによって違いがありそうですが、
MySQlの公式ページ( https://dev.mysql.com/doc/refman/8.3/en/checking-rpm-signature.html)
に記載があるので、インストールしようとしているバージョンにあったコマンドで更新しましょう。

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?