可能是我源镜像出现了问题,昨天弄了好久,网上找到了各种办法无法解决.
今天看到你这么说,我吧镜像缓存清除,重新使用yumcache, 再下载就好了.
步骤
1.yum remove "mysql*"
2.yum clean all
3.mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
4.wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
5.yum makecache
6.yum -y install mysql-server
就OK了