linux rpm -ivh MySQL-server-5.5.31-2.el6.i686.rpm

时间:2021-05-02 08:34:18

linux rpm 安装mysql异常:

[root@localhost upload]# rpm -ivh MySQL-server-5.5.31-2.el6.i686.rpm
error: Failed dependencies:
libaio.so.1()(64bit) is needed by MySQL-server-5.5.31-2.el6.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.5.31-2.el6.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.5.31-2.el6.x86_64

解决方案:

yum install libaio (前提示linux要连网)