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

 

如果你用的第一个没有用的话,那你再用第二个命令试试

相关文章:

  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2021-09-06
  • 2022-12-23
  • 2021-04-03
  • 2021-07-21
  • 2021-08-31
猜你喜欢
  • 2021-08-22
  • 2021-10-21
  • 2021-07-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案