CentOS release 6.7 安装二进制 MySQL-5.6
./scripts/mysql_install_db --user=mysql --datadir=/data/MySQL
遇到错误:error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
解决方法:yum install -y libaio libaio-devel
另外拷贝配置文件
cp support-files/my-default.cnf /etc/my.cnf
./scripts/mysql_install_db --user=mysql --datadir=/data/MySQL
遇到错误:error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
解决方法:yum install -y libaio libaio-devel
另外拷贝配置文件
cp support-files/my-default.cnf /etc/my.cnf
编辑回复