此时情绪此时天,无事小神仙
好好生活,平平淡淡每一天

编辑

Linux环境MySQL Shell安装异常

安装mysql-shell-8.0.21-1.el7.x86_64.rpm时报异常:

error:unpacking of archive failed on file /usr/bin/mysqlsh:cpio:rename failed -Is a directory

error:mysql-shell-8.0.21-1.el7.x86_64.rpm install failed

原因:
安装mysql-shell-8.0.21-1.el7.x86_64.rpm时,需要操作mysqlsh文件的权限,把mysqlsh文件删除即可

解决方案:
rm -rf /usr/bin/mysqlsh

posted @ 2021-03-03 17:27  踏步  阅读(291)  评论(0编辑  收藏  举报