报错信息
代码语言:javascript复制On Debian, if you get the error:
/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
···········
原因:libaio依赖没有安装! 解决方案:
代码语言:javascript复制yum install libaio.so.1
代码语言:javascript复制[root@centos7 ~]#yum info libaio
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Installed Packages
Name : libaio
Arch : i686
Version : 0.3.109
Release : 13.el7
Size : 37 k
Repo : installed
From repo : base
Summary : Linux-native asynchronous I/O access library
License : LGPLv2
Description : The Linux-native asynchronous I/O facility ("async I/O", or "aio") has a
: richer API and capability set than the simple POSIX async I/O facility.
: This library, libaio, provides the Linux-native API for async I/O.
: The POSIX async I/O facility requires this library in order to provide
: kernel-accelerated async I/O capabilities, as do applications which
: require the Linux-native async I/O API.
Name : libaio
Arch : x86_64
Version : 0.3.109
Release : 13.el7
Size : 38 k
Repo : installed
From repo : base
Summary : Linux-native asynchronous I/O access library
License : LGPLv2
Description : The Linux-native asynchronous I/O facility ("async I/O", or "aio") has a
: richer API and capability set than the simple POSIX async I/O facility.
: This library, libaio, provides the Linux-native API for async I/O.
: The POSIX async I/O facility requires this library in order to provide
: kernel-accelerated async I/O capabilities, as do applications which
: require the Linux-native async I/O API.