centos 설치 mysql8

1172 단어 java 기술mysql
01. 설치 과정 중 오류 보고
warning: mysql-community-server-8.0.12-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY error: Failed dependencies:     libaio.so.1()(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64     libaio.so.1(LIBAIO_0.1)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64     libaio.so.1(LIBAIO_0.4)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
02. 해결 방법:
파일 없음
weget http://mirror.centos.org/centos/6/os/x86_64/Packages/libaio-0.3.107-10.el6.x86_64.rpm

rpm -ivh libaio-0.3.107-10.el6.x86_64.rpm

03、mysql8 서비스 명령 정지
service mysqld stop
  
systemctl stop mysqld.service

04, mysql8 서비스 명령 시작
service mysqld start
 
systemctl start mysqld.service

05, mysql8 서비스 명령 다시 시작
service mysqld restart
  
systemctl restart mysqld.service

 
참조:
https://blog.csdn.net/vkingnew/article/details/81264917
https://blog.csdn.net/daodan988/article/details/10950957
https://www.cnblogs.com/wuyuxiang/p/5166705.html
https://www.cnblogs.com/stm32stm32/p/7862503.html

좋은 웹페이지 즐겨찾기