Install the database of mysql8.0.13 on centos7, using the installation package compiled on the official website. After downloading and decompressing, you can use it and need to install it
However, an error occurred during database initialization after decompression
/usr/local/mysql/bin/mysqld –initailize –user=mysql –basedir=/usr/local/mysql –datadir=/www/mysql/data
The error after running the command is as follows:
error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
in case of this problem, first check whether the link library file is installed and use the command to check
rpm -qa|grep libaio
After running the command, it is found that there is no link library file in the system
Using the command, yum install libaio-devel.x86_ 64
After the installation is successful, continue to run the initialization command of the database, indicating success
Similar Posts:
- error while loading shared libraries libaio.so.1
- Linux encountered a problem when installing RPM package error:Failed dependencies Solution method
- MySQL installation error — failed to find valid data directory
- How to Solve MYSQL Error: Plugin ‘FEDERATED’ is disabled. /usr/sbin/mysqld: Table ‘mysql.plugin’…
- [Solved] libmysqlclient.so.16: cannot open shared object file: No such file or directory Error
- error while loading shared libraries: libpq.so.5
- Solution to error reporting in starting MySQL
- [Solved] php -v Error: error while loading shared libraries: libonig.so.5:cannot open share directory
- How to Solve MySQL Startup error: mysql-bin.index not found (Errcode: 13)
- Linux Install MySQL Error: error: Failed dependencies: libaio.so.1()(64bit) is needed by mysql-community-server-5.7.26-1.el7.x86_64