1. 程式人生 > 實用技巧 >[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

[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