Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- bfs 미로탐색 java
- 피보나치 예제
- 테스트 자동화
- 재귀 예제
- 피보나치함수
- tomcat log
- katalon 사용법
- 재귀함수 예제
- CSTS 폭포수 모델
- git 연동
- javascript 자동완성
- Katalon Recorder 사용법
- java.sql.SQLSyntaxErrorException
- 한국투자증권 해외주식 양도세
- katalon xpath
- 해외주식 양도세 신고
- oracle group by
- js 자동완성
- 홈택스 해외주식 양도세
- katalon 비교
- 최대공약수 예제
- 국세청 해외주식 양도세 신고방식
- recursion example
- 주식 양도세 신고방법
- katalon
- 톰캣 실시간 로그
- 피보나치함수 예제
- 해외증권 양도세 한국투자증권
- katalon 자동화
- 한국투자증권 양도세 신고
Archives
- Today
- Total
엄지월드
aws linux에서 MySQL 설치 방법 본문
아래 에러로 인해 MySQL 재설치를 진행했다.
GPG key at https://repo.mysql.com/RPM-GPG-KEY-mysql (0x5072E1F5) is already installed
The GPG keys listed for the "MySQL 5.7 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.. Failing package is: mysql-community-client-5.7.44-1.el7.x86_64
GPG Keys are configured as: https://repo.mysql.com/RPM-GPG-KEY-mysql
Public key for mysql-community-common-5.7.44-1.el7.x86_64.rpm is not installed. Failing package is: mysql-community-common-5.7.44-1.el7.x86_64
GPG Keys are configured as: https://repo.mysql.com/RPM-GPG-KEY-mysql
Public key for mysql-community-libs-5.7.44-1.el7.x86_64.rpm is not installed. Failing package is: mysql-community-libs-5.7.44-1.el7.x86_64
GPG Keys are configured as: https://repo.mysql.com/RPM-GPG-KEY-mysql
Public key for mysql-community-server-5.7.44-1.el7.x86_64.rpm is not installed. Failing package is: mysql-community-server-5.7.44-1.el7.x86_64
GPG Keys are configured as: https://repo.mysql.com/RPM-GPG-KEY-mysql
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: GPG check FAILED
1. MySQL 리포지토리 파일 수정
/etc/yum.repos.d/mysql-community.repo 파일을 열고, gpgcheck=1을 gpgcheck=0으로 변경해 보세요.
이 설정은 GPG 체크를 비활성화합니다.
sudo vi /etc/yum.repos.d/mysql-community.repo
변경 후, 해당 섹션을 다음과 같이 수정합니다:
[mysql57-community]
name=MySQL 5.7 Community Server
baseurl=https://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/
enabled=1
gpgcheck=0 # 1에서 0으로 수정
gpgkey=https://repo.mysql.com/RPM-GPG-KEY-mysql
2. MySQL 설치 시도
GPG 체크를 비활성화한 후, 다시 MySQL 설치를 시도해 보세요.
sudo yum clean all
sudo yum install mysql-community-server -y
3. 설치 후 GPG 체크 활성화
설치가 완료된 후, 다시 GPG 체크를 활성화하려면 gpgcheck=1으로 원래 설정으로 되돌리세요.
4. mysql 비밀번호 확인
sudo cat /var/log/mysqld.log | grep 'temporary password'
'Server&DevOps' 카테고리의 다른 글
A서버(구글 클라우드)에서 B서버(AWS)로 SSH 통신하는 방법 (6) | 2024.09.02 |
---|---|
AWS linux JDK11 설치 (0) | 2024.08.06 |
[front] react jenkins 배포 (0) | 2024.07.08 |
[back] java jar jenkins 배포(jenkins 자동배포) (0) | 2024.07.08 |
ubuntu find 허가 거부됨 제외 (0) | 2023.10.08 |
Comments