Centos7安装MySQL安装出错:Error: Package: MariaDB-client-5.5.49-1.el7.centos.x86_64 (base)的解决办法


Cents7上MySQL安装出错:Error: Package: MariaDB-client-5.5.49-1.el7.centos.x86_64 (base)的解决办法:


Error: Package: MariaDB-client-5.5.49-1.el7.centos.x86_64 (base)
           Requires: libaio.so.1(LIBAIO_0.4)(64bit)
Error: Package: MariaDB-client-5.5.49-1.el7.centos.x86_64 (base)
           Requires: libaio.so.1()(64bit)
Error: Package: MariaDB-server-5.5.49-1.el7.centos.x86_64 (base)
           Requires: libaio.so.1()(64bit)
Error: Package: MariaDB-client-5.5.49-1.el7.centos.x86_64 (base)
           Requires: libaio.so.1(LIBAIO_0.1)(64bit)
Error: Package: MariaDB-server-5.5.49-1.el7.centos.x86_64 (base)
           Requires: libaio.so.1(LIBAIO_0.4)(64bit)
Error: Package: MariaDB-server-5.5.49-1.el7.centos.x86_64 (base)
           Requires: libaio.so.1(LIBAIO_0.1)(64bit)
Redirecting to /bin/systemctl status  mysql.service
Warning: mysql.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Redirecting to /bin/systemctl start  mysql.service
Warning: mysql.service changed on disk. Run 'systemctl daemon-reload' to reload units.


Linux系统缺少libaio组件。

如果yum能用,直接可通过yum 安装组件

yum install  -y libaio


如果yum没有,直接下载安装。


你可能感兴趣的:(数据库,Linux,常见问题)