Mysql 初始化报错,解决方法
1.安装数据库后,初始化报错
[root@db01 /data/app] mysqld --initialize-insecure --user=mysql --basedir=/data/app/mysql --datadir=/data/3306/data
mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
2.报错问题:加载共享库时出错:libaio.so。1:无法打开共享对象文件:没有这样的文件或目录
mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
3.解决方法:安装 libaio 包
[root@db01 /data/app] yum install libaio
2020-04-13