./bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file:(示例代
Posted Mr_伍先生
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了./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/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file:(示例代的主要内容,如果未能解决你的问题,请参考以下文章
error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or
error while loading shared libraries: libaio.so.1
MySQL&MariaDB出现error while loading shared libraries: libaio.so错误
mysql数据库二进制初始化出现:170425 17:47:04 [ERROR] /application/mysql//bin/mysqld: unknown option '--skip-