Centos7 安装MySQL问题,一直安装失败

Centos7 安装mysql5.0+ 有什么教程没?
网上看到的各种都不太一样,而且各种操作之后得不行,要么服务找不到,要么安装失败。
有像这样的:
Preparing... ################################# [100%]
Updating / installing...
1:MySQL-server-5.5.39-2.el6 ################################# [100%]
error: unpacking of archive failed on file /usr/share/mysql/french/errmsg.sys;56fdf5ca: cpio: read failed - No such file or

directory
error: MySQL-server-5.5.39-2.el6.x86_64: install failed

有安装这里面的
http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html
但是报错
yum install -y mysql-server mysql mysql-devel
之后也在安装了,
.....

Installed:
mariadb.x86_64 1:5.5.44-2.el7.centos mariadb-devel.x86_64 1:5.5.44-2.el7.centos

Dependency Installed:
keyutils-libs-devel.x86_64 0:1.5.8-3.el7 krb5-devel.x86_64 0:1.13.2-10.el7
libcom_err-devel.x86_64 0:1.42.9-7.el7 libselinux-devel.x86_64 0:2.2.2-6.el7
libsepol-devel.x86_64 0:2.1.9-3.el7 libverto-devel.x86_64 0:0.2.5-4.el7
mariadb-libs.x86_64 1:5.5.44-2.el7.centos openssl-devel.x86_64 1:1.0.1e-51.el7_2.4
pcre-devel.x86_64 0:8.32-15.el7

Dependency Updated:
e2fsprogs.x86_64 0:1.42.9-7.el7 e2fsprogs-libs.x86_64 0:1.42.9-7.el7
krb5-libs.x86_64 0:1.13.2-10.el7 libcom_err.x86_64 0:1.42.9-7.el7
libss.x86_64 0:1.42.9-7.el7 openssl.x86_64 1:1.0.1e-51.el7_2.4
openssl-libs.x86_64 1:1.0.1e-51.el7_2.4 pcre.x86_64 0:8.32-15.el7

Complete!

rpm -qi mysql-server

package mysql-server is not installed

反正就是各种错误,完全没有头绪。小白向大家请教了!

当前问题共有如下(1)个解决方案
  • 西秦说云
    西秦说云

    您是否尝试之间从官网下载二进制包解压运行呢?

上一篇:域名解析ip是不是我的ecs的 ip
下一篇:为什么我用了交换机后,ecs服务器页面最小化后会蓝屏