首页 > 数据库> > ./bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file:
./bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file:
作者:互联网
root@bigdata-159:/usr/local/mysql# ./bin/mysqld -- defaults-file=/etc/my.cnf --initialize --user=mysql
./bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
解决方法:
[root@example.com data]# yum install -y libaio //安装后在初始化就OK了
也有的人说
使用这个命令才能解决这个问题,yum install -y libaio.so.1
如果你用的第一个没有用的话,那你再用第二个命令试试
标签:bin,libaio,so.1,mysqld,file,shared 来源: https://www.cnblogs.com/mr-wuxiansheng/p/12494285.html