mysql 설치...
1383
작성한 질문수 18
rpm은 설치를 한거같은데 key가 안맞는거같네요..
folder1 mysql57-community-release-el7-11.noarch.rpm.1
folder2 mysql80-community-release-el7-5.noarch.rpm
mysql57-community-release-el7-11.noarch.rpm mysql80-community-release-el7-5.noarch.rpm.1
Total size: 211 M
Downloading packages:
경고: /var/cache/yum/x86_64/2/mysql57-community/packages/mysql-community-libs-compat-5.7.41-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
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-libs-compat-5.7.41-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
답변 1
0
안녕하세요 진섭님!! 상세한 상황 알려주셔서 감사드립니다! 🙏
말씀해주신 내용을 확인해본 결과, MySQL 5.7 을 설치하시려고 한게 아닌가 싶습니다!!
본 강의에서 사용하고 있는, 그리고 44강에서 설치 방법을 소개해드리고 있는 버전은 MySQL 8.0 버전이에요!!!
물론, MySQL 5.7 버전을 사용하셔도 기능적으로는 문제 없기 때문에, 설치하고 싶으시다면
등의 블로그를 확인해보시면 좋을 것 같습니다!!!
검색 키워드는 "MySQL5.7 GPG 에러"입니다!
감사합니다! 🙇
0
Install 3 Packages (+3 Dependent packages)
Total size: 211 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : mysql-community-common-5.7.41-1.el7.x86_64 1/7
Installing : mysql-community-libs-5.7.41-1.el7.x86_64 2/7
Installing : ncurses-compat-libs-6.0-8.20170212.amzn2.1.4.x86_64 3/7
Installing : mysql-community-client-5.7.41-1.el7.x86_64 4/7
Installing : mysql-community-server-5.7.41-1.el7.x86_64 5/7
Installing : mysql-community-libs-compat-5.7.41-1.el7.x86_64 6/7
Erasing : 1:mariadb-libs-5.5.68-1.amzn2.x86_64 7/7
Verifying : mysql-community-libs-compat-5.7.41-1.el7.x86_64 1/7
Verifying : ncurses-compat-libs-6.0-8.20170212.amzn2.1.4.x86_64 2/7
Verifying : mysql-community-client-5.7.41-1.el7.x86_64 3/7
Verifying : mysql-community-server-5.7.41-1.el7.x86_64 4/7
Verifying : mysql-community-common-5.7.41-1.el7.x86_64 5/7
Verifying : mysql-community-libs-5.7.41-1.el7.x86_64 6/7
Verifying : 1:mariadb-libs-5.5.68-1.amzn2.x86_64 7/7
Installed:
mysql-community-libs.x86_64 0:5.7.41-1.el7
mysql-community-libs-compat.x86_64 0:5.7.41-1.el7
mysql-community-server.x86_64 0:5.7.41-1.el7
Dependency Installed:
mysql-community-client.x86_64 0:5.7.41-1.el7
mysql-community-common.x86_64 0:5.7.41-1.el7
ncurses-compat-libs.x86_64 0:6.0-8.20170212.amzn2.1.4
Replaced:
mariadb-libs.x86_64 1:5.5.68-1.amzn2
Complete!
[ec2-user@ip-172-31-14-165 ~]$ sudo systemctl status mysqld
● mysqld.service - MySQL Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Active: inactive (dead)
Docs: man:mysqld(8)
http://dev.mysql.com/doc/refman/en/using-systemd.html
[ec2-user@ip-172-31-14-165 ~]$ sudo systemctl restart mysql
Failed to restart mysql.service: Unit not found.
[ec2-user@ip-172-31-14-165 ~]$ sudo systemctl restart mysqld
[ec2-user@ip-172-31-14-165 ~]$ sudo systemctl status mysqld
● mysqld.service - MySQL Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Active: active (running) since 일 2023-02-12 06:42:11 UTC; 6s ago
Docs: man:mysqld(8)
http://dev.mysql.com/doc/refman/en/using-systemd.html
Process: 25839 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid $MYSQLD_OPTS (code=exited, status=0/SUCCESS)
Process: 25765 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS)
Main PID: 25843 (mysqld)
CGroup: /system.slice/mysqld.service
└─25843 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid
2월 12 06:42:07 ip-172-31-14-165.ap-northeast-2.compute.internal systemd[1]: Starting MySQL Server...
2월 12 06:42:11 ip-172-31-14-165.ap-northeast-2.compute.internal systemd[1]: Started MySQL Server.
드디어 성공했습니다!!
빠른 답변감사합니다 ^^
패키지 구분에 대해 궁금한게 있습니다
0
27
2
리액트 관련 질문이 있습니다.
0
65
2
스프링부트 버전
0
78
2
7강 강의를 들으려고 했는데 오류가 나서 서버가 안 켜지는거 같아요.
0
60
2
33강. UserLoanHistory의 관계성에 대한 질문
1
57
2
Java JDK 버전 문의의 건
0
136
2
ec2 에서 Linux버전이 달라져서 설치가 안되는것 같은데 자료 최신화좀 해주세요.
0
90
3
h2 console 접속했을 테이블 질문
1
67
1
ec2 서버에서 스프링 실행도 되고 인바운드 설정까지 했는데 index.html 안됨
0
82
2
15강. updateUser() 질문
0
57
2
깃허브 질
0
88
2
여기까지 다 끝냈다고 하셨는데
0
81
2
왜안될까요
0
72
2
MySQL 창이안ㄴ뜹니다
0
59
2
포스트맨
0
53
1
spring 개념적인 질문
0
72
2
인텔리제이 샘플코드 실행 안됨 오류
0
144
2
aws 배포할때 .env 파일에 저장한 환경변수에 관하여 여쭤볼게 있습니다
0
88
1
마이그레이션 오류입니다.
0
176
3
Whitelabel Error Page 오류가 났습니다.
0
172
2
안녕하십니까! 오류가 났습니다.. 도와주세요 ㅜㅜ
1
95
3
궁금한게 있습니다.
0
61
2
DTO 관련
0
71
2
궁금한게 있습니다!
0
70
2





