阿里云ecs的centos下载mysql需要的libaio问题

在centos下安装MySQL时
遇到了这样的问题
warning: mysql-community-server-5.7.26-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-5.7.26-1.el7.x86_64

libaio.so.1(LIBAIO_0.1)(64bit) is needed by mysql-community-server-5.7.26-1.el7.x86_64

libaio.so.1(LIBAIO_0.4)(64bit) is needed by mysql-community-server-5.7.26-1.el7.x86_64
这时候需要用yum下载libaio


yum list|grep libaio


选择正确的位数

    • libaio.i686 0.3.109-13.el7 @base
    • libaio.x86_64 0.3.109-13.el7 base
    • libaio-devel.i686 0.3.109-13.el7 base
    • libaio-devel.x86_64 0.3.109-13.el7 base

下载后即可安装MySQL

posted @ 2021-08-04 17:10  中道_lan  阅读(601)  评论(0)    收藏  举报