Centos7—MySQL8 rpm安装依赖问题解决
在安装mysql-community-server-8.0.28-1.el7.x86_64.rpm出错,错误的依赖如下
Mysql rpm依赖问题大致解决方式如下:
问题1:
/usr/bin/perl is needed by mysql-community-server-8.0.28-1.el7.x86_64
解决方案:安装prel模块
1 | yum install -y perl-Module-Install.noarch |
问题2:
libaio.so.1(LIBAIO_0.1)(64bit) is needed by mysql-community-server-8.0.28-1.el7.x86_64
1 | yum install libaio |
问题3:
libnuma.so.1(libnuma_1.1)(64bit) is needed by mysql-community-server-8.0.28-1.el7.x86_64
1 | yum -y install numactl |
问题4:
mysql-community-icu-data-files = 8.0.28-1.el7 is needed by mysql-community-server-8.0.28-1.el7.x86_64
在官网下载相应的依赖包安装
1 | rpm -ivh mysql-community-icu-data-files-8.0.28-1.el7.x86_64.rpm |
以上依赖则是所有依赖报错处理过程
最后再执行安装mysql服务命令
1 | rpm -ivh mysql-community-xxxxx.e17.x86_64.rpm |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Rick's Blog!
评论