libaio.so.1()(64bit) is needed by mysql-community-server-8.0.18-1.el7.x86_64 解决办法

在华为云上安装mysql8,遇到以下报错:

[root@ecs-170256 mysql]# rpm -ivh mysql-community-server-8.0.18-1.el7.x86_64.rpm 
warning: mysql-community-server-8.0.18-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
	libaio.so.1()(64bit) is needed by mysql-community-server-8.0.18-1.el7.x86_64
	libaio.so.1(LIBAIO_0.1)(64bit) is needed by mysql-community-server-8.0.18-1.el7.x86_64
	libaio.so.1(LIBAIO_0.4)(64bit) is needed by mysql-community-server-8.0.18-1.el7.x86_64

解决办法:
yum install libaio

然后就可以了

你可能感兴趣的:(mysql,linux,centos)