본문 바로가기
AWS

아마존 리눅스 mysql 설치 오류

by ssyeon 2024. 5. 27.

아무리 계속해도 이런 오류만 나오고 아마존 리눅스에 mysql 설치가 안된 상황에서 해결한 방법

The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository

 

 

 

 

아래 명령어로 다시 깔아주고

sudo yum install mysql-community-server

 

다시 확인해봤더니 성공이다

sudo systemctl start mysqld

 

 

 

 

이분께 무한 감사를....

https://stackoverflow.com/questions/77884025/im-using-amazon-linux-and-trying-to-install-mysql-in-ec2-but-i-keep-getting-th

 

I'm using amazon linux and trying to install mysql in ec2, but I keep getting the error "GPG key a is already installed" It happ

I am currently trying to install mysql in ec2, but the "GPG key" error keeps occurring. - errormessage [root ec2-user]# sudo yum install mysql-community-server Last metadata expiration ch...

stackoverflow.com

 

반응형

댓글