开发者社区> 问答> 正文

centos6.8服务器设置防火墙之后不能下载mysql

配置完了iptables,开放了22端口留着ssh用,但是当我使用yum -y install mysql mysql-server mysql-devel命令安装mysql时报如下的错误,求大神指导
Error Downloading Packages:
mysql-devel-5.1.73-8.el6_8.x86_64: failure: Packages/mysql-devel-5.1.73-8.el6_8.x86_64.rpm from base: [Errno 256] No more mirrors to try.
mysql-5.1.73-8.el6_8.x86_64: failure: Packages/mysql-5.1.73-8.el6_8.x86_64.rpm from base: [Errno 256] No more mirrors to try.
mysql-server-5.1.73-8.el6_8.x86_64: failure: Packages/mysql-server-5.1.73-8.el6_8.x86_64.rpm from base: [Errno 256] No more mirrors to try.
mysql-libs-5.1.73-8.el6_8.x86_64: failure: Packages/mysql-libs-5.1.73-8.el6_8.x86_64.rpm from base: [Errno 256] No more mirrors to try.
perl-DBD-MySQL-4.013-3.el6.x86_64: failure: Packages/perl-DBD-MySQL-4.013-3.el6.x86_64.rpm from base: [Errno 256] No more mirrors to try.
11111111111111

展开
收起
dc小菜鸟 2017-07-28 12:35:16 3809 0
1 条回答
写回答
取消 提交回答
  • 阿里云论坛版主,QQ 1978638808

    设置安全组。安全组高于iptables

    2019-07-17 21:26:38
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
CentOS Nginx PHP JAVA 多语言镜像使用手 立即下载
《云防火墙实现多账号统一管控》 立即下载
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载