Bug #92959 Error Install Mysql On Centos 7 Conflict my.cnf with Percona
Submitted: 26 Oct 2018 10:04 Modified: 26 Oct 2018 20:27
Reporter: Nguyen Phu Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Installing Severity:S1 (Critical)
Version:8.0.13 OS:CentOS (7)
Assigned to: CPU Architecture:Any
Tags: CentOS7, MySQL

[26 Oct 2018 10:04] Nguyen Phu
Description:
I start setup mysql on my fresh Centos 7 by command

    yum localinstall https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm

After that:
 
    yum install mysql-community-server

And this is error after process run:

    Downloading packages:
    (1/7): libaio-0.3.109-13.el7.x86_64.rpm                                                                                                                                       |  24 kB  00:00:00
    warning: /var/cache/yum/x86_64/7/mysql80-community/packages/mysql-community-common-8.0.13-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
    Public key for mysql-community-common-8.0.13-1.el7.x86_64.rpm is not installed
    (2/7): mysql-community-common-8.0.13-1.el7.x86_64.rpm                                                                                                                         | 554 kB  00:00:00
    (3/7): mysql-community-libs-8.0.13-1.el7.x86_64.rpm                                                                                                                           | 2.3 MB  00:00:00
    (4/7): mysql-community-client-8.0.13-1.el7.x86_64.rpm                                                                                                                         |  26 MB  00:00:01
    (5/7): numactl-libs-2.0.9-7.el7.x86_64.rpm                                                                                                                                    |  29 kB  00:00:00
    (6/7): Percona-Server-shared-56-5.6.36-rel82.1.el7.x86_64.rpm                                                                                                                 | 619 kB  00:00:02
    (7/7): mysql-community-server-8.0.13-1.el7.x86_64.rpm                                                                                                                         | 381 MB  00:00:11
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                                                 34 MB/s | 410 MB  00:00:11
    Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
    Importing GPG key 0x5072E1F5:
     Userid     : "MySQL Release Engineering <mysql-build@oss.oracle.com>"
     Fingerprint: a4a9 4068 76fc bd3c 4567 70c8 8c71 8d3b 5072 e1f5
     Package    : mysql80-community-release-el7-1.noarch (installed)
     From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
    Is this ok [y/N]: y
    Running transaction check
    Running transaction test
    
    
    Transaction check error:
      file /etc/my.cnf conflicts between attempted installs of Percona-Server-shared-56-5.6.36-rel82.1.el7.x86_64 and mysql-community-server-8.0.13-1.el7.x86_64
    
    Error Summary
    -------------

How to repeat:
Just install

Suggested fix:
don't know
[26 Oct 2018 12:27] Nguyen Phu
I tried yum remove Percona*;
and reinstall mysql. It worked.
[26 Oct 2018 20:27] Terje Røsten
Hi!

Thanks for your report!

Mixing MySQL and Percona repos and/or packages are not supported.