小编And*_*hoe的帖子

无法安装 MySQL 并出现错误“转换检查错误”

我在 CentOS 7 上运行,在第一次安装 MySQL 时失败,所以我关闭了电源(插头不正确),第二次安装时出现以下错误:

Downloading packages:
mysql-community-server-5.7.21-1.el7.x86_64.rpm             | 164 MB   01:22     
Running transaction check
Running transaction test


Transaction check error:
  file /etc/my.cnf from install of mysql-community-server-5.7.21-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64

Error Summary
-------------
Run Code Online (Sandbox Code Playgroud)

(为了更好的条件,我粘贴了更多,错误摘要下也没有任何内容)

我试过运行类似的命令yum remove mariadb-libs yum erase mariadb-libs yum remove mariadb yum remove mariadb-server yum clean all,但都无法工作

请帮忙!

mysql centos mariadb centos7

2
推荐指数
1
解决办法
4750
查看次数

标签 统计

centos ×1

centos7 ×1

mariadb ×1

mysql ×1