MySQL安装失败
来源:1-24 -Hive环境搭建
魔法少女德莉傻
2018-05-18
在安装SQL的时候,我用的命令是# yum install mysql-server,但是安装到最后的时候有报错。
报错是:
Error Downloading Packages:
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.
perl-DBI-1.609-4.el6.x86_64: failure: Packages/perl-DBI-1.609-4.el6.x86_64.rpm from base: [Errno 256] No more mirrors to try.
然后启动的时候显示:
[root@hadoop000 hadoop]# /etc/init.d/mysqld restart
bash: /etc/init.d/mysqld: No such file or directory
2回答
-
Michael_PK
2018-05-19
你可以加群问,更加方便
00 -
Michael_PK
2018-05-18
两者解决方案:1)yum先卸载再安装;2)不用yum,采用MySQL源码编译安装。这两种方式百度一搜都有很多文章。
0122018-05-19
相似问题