[Zabbix5.0]Transaction check error: file /etc/my.cnf from install of Percona-Server-shared-56-5.6.48-rel88.0.1.el7.x86_64 conflicts with file from package mysql-community-server-5.7.30-1.el7.x86_64

安装ZabbixServer5.0报错

Transaction check error:
  file /etc/my.cnf from install of Percona-Server-shared-56-5.6.48-rel88.0.1.el7.x86_64 conflicts with file from package mysql-community-server-5.7.30-1.el7.x86_64

官网下载兼容包

https://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/mysql-community-libs-compat-5.7.30-1.el7.x86_64.rpm

[root@zabbixdb]# yum install -y mysql-community-libs-compat-5.7.30-1.el7.x86_64.rpm
Running transaction
  Installing : mysql-community-libs-compat-5.7.30-1.el7.x86_64                                                                                                            1/1 
  Verifying  : mysql-community-libs-compat-5.7.30-1.el7.x86_64                                                                                                            1/1 

Installed:
  mysql-community-libs-compat.x86_64 0:5.7.30-1.el7                                                                                                                           

Complete!

END

原文地址:https://www.cnblogs.com/leoshi/p/13320858.html