阿里云Centos7 安装mysql5.7 报错:./mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

  在阿里云服务器Centos7中安装mysql5.7,解压数据库初始化后,报错

./mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

 

检查是否安装libaio

rpm -qa|grep libaio 

若不存在,安装这个包即可

yum install  libaio-devel.x86_64

 

posted @ 2020-12-26 13:38  陈彦斌  阅读(570)  评论(0编辑  收藏  举报