问题随记 —— /usr/bin/perl is needed by MySQL-server-5.1.73-1.glibc23.x86_64

2023-05-07 19:16:08 浏览数 (3)

问题描述

CentOS7 安装 MySQL 报错

代码语言:javascript复制
[root@localhost share]# rpm -ivh MySQL-server-5.1.73-1.glibc23.x86_64.rpm
error: Failed dependencies:
	/usr/bin/perl is needed by MySQL-server-5.1.73-1.glibc23.x86_64

解决方法

代码语言:javascript复制
yum search perl

yum -y install perl.x86_64

1 人点赞