安装MySQL开发时"Nothing to do"



我使用的是CentOS 6.4,并试图通过"yum"安装mysql-devel它无法安装,并且没有错误消息。我可以使用"百胜搜索"来查找软件包,但无法安装。

/home/centos64/ce-installer:sudo yum install MySQL51-devel.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink
epel-debuginfo/metalink
epel-source/metalink
 * epel: mirrors.ptd.net
 * epel-debuginfo: mirrors.servercentral.net
 * epel-source: mirrors.servercentral.net
 * webtatic: us-east.repo.webtatic.com
base
centosplus
epel-debuginfo
epel-source
extras
updates
webtatic
Setting up Install Process
Nothing to do

谢谢。

检查是否已安装:

rpm -qa | grep -i mysql

您的包名称有误。Yum返回"nothingtodo",因为没有可用的"MySQL51-devel.x86_64"包。试试这个:

sudo yum install mysql-devel.x86_64

最新更新