mysql 初始化报错 /usr/local/mysql/bin/mysqld:error while loading shared libraries :libaio.so.1

安装mysql在初始化的时候,出现/usr/local/mysql/bin/mysqld:error while loading shared libraries:libaio.so.1 :cannot open shared object file:NO such file or directory

解决方法:

type the following

apt-get install libaio1 libaio-dev

On Redhat /Fedora/CentOS:

yum install libaio

转载于:https://www.cnblogs.com/the-study-of-linux/p/5371061.html

你可能感兴趣的:(mysql 初始化报错 /usr/local/mysql/bin/mysqld:error while loading shared libraries :libaio.so.1)