首页 > 代码库 > 在CentOS中安装32位或64位MySql报错error: Failed dependencies解决办法
在CentOS中安装32位或64位MySql报错error: Failed dependencies解决办法
在CentOS中安装MySql报错error: Failed dependencies解决办法
安装64位MySql报错内容如下:
error: Failed dependencies:
libaio.so.1()(64bit) is needed by MySQL-server-5.6.19-1.el6.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.6.19-1.el6.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.6.19-1.el6.x86_64
通过安装64位libaio.rpm解决,如下:
rpm -ivh libaio-0.3.107-10.el6.x86_64
安装32位MySql报错内容如下:
error: Failed dependencies:
libaio.so.1 is needed by MySQL-server-5.5.31-2.el6.i686
libaio.so.1(LIBAIO_0.1) is needed by MySQL-server-5.5.31-2.el6.i686
libaio.so.1(LIBAIO_0.4) is needed by MySQL-server-5.5.31-2.el6.i686
通过安装32位libaio.rpm解决,
rpm -ivh libaio-0.3.107-10.el6.i686.rpm
安装MySql时依赖libaio库,而系统缺少libaio包导致
在CentOS中安装32位或64位MySql报错error: Failed dependencies解决办法