01、安装过程中报错
warning: mysql-community-server-8.0.12-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
libaio.so.1()(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
02、解决办法:
缺少文件
weget http://mirror.centos.org/centos/6/os/x86_64/Packages/libaio-0.3.107-10.el6.x86_64.rpm
rpm -ivh libaio-0.3.107-10.el6.x86_64.rpm
03、停止mysql8服务命令
service mysqld stop
或者
systemctl stop mysqld.service
04、启动mysql8服务命令
service mysqld start
或
systemctl start mysqld.service
05、重启mysql8服务命令
service mysqld restart
或者
systemctl restart mysqld.service
参考:
https://blog.csdn.net/vkingnew/article/details/81264917
https://blog.csdn.net/daodan988/article/details/10950957
本文介绍了解决MySQL 8.0.12版本在安装过程中遇到的依赖缺失问题,特别是缺少libaio库的情况,并提供了详细的下载及安装指导。同时,还列出了MySQL服务的基本操作命令。

4738

被折叠的 条评论
为什么被折叠?



