萬盛學電腦網

 萬盛學電腦網 >> 數據庫 >> mysql教程 >> mysql報錯:error while loading shared libraries..

mysql報錯:error while loading shared libraries..

今天下午在使用mysql時突然發現它提示 error while loading shared libraries. libaio.so.1: cannot open shared object file: No such file or directory錯誤了,下面我來介紹此問題解決辦法。


在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

 
apt-get install libaio1 libaio-dev

在Redhat/Fedora/CentOS系統:

 
yum install libaio

copyright © 萬盛學電腦網 all rights reserved