在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包导致
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。