error while loading shared libraries libaio.so.1

What are the eight life cycle hook functions of Vue>>>

Today, when installing MySQL with source code on CentOS 7, we encountered the following error:

oot@dbhost01:~# /opt/mysql/server-5.6/scripts/mysql_install_db –user=mysql
Installing MySQL system tables…/opt/mysql/server-5.6/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
root@dbhost01:~#

When we use “MySQL”_ install_ The libaio package is required to install MySQL on Linux system. The ways to install this package on different Linux systems are summarized as follows:

1. For RedHat/CentOS system, use the following installation methods:

[root@dbhost01~]# yum install libaio

2. The Debian system is installed as follows:

root@dbhost01:~# apt-get install libaio1

After installing the package, execute “MySQL” again_ install_ This time, there will be no mistakes

Similar Posts: