从官网下的mysql5.5的server,系统是centos 6.4 x86_64,安装时一直报错:

[root@dbserver opt]# rpm -ivh MySQL-server-5.5.31-2.el6.x86_64.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

下载MySQL-devel、MySQL-shared-compat、MySQL-shared安装后仍然报错

解决方法:

  安装libaio-0.3.107-10.el6.x86_64.rpm 即可

  下载地址:

  http://mirror.centos.org/centos/6/os/x86_64/Packages/libaio-0.3.107-10.el6.x86_64.rpm