Mysql – Percona-Server-shared the.cnf file conflicts with file from package thesql-community-server-5.5

MySQLmysql-replicationmysql5.5percona

I'm trying to install Percona Toolkit on the server where there is already mysql-community-server5.5.52 is running.
I require pt-table-checksum and pt-table-snc utility, so I ran:

yum install percona-toolkit

I got the following error:

Transaction Check Error:
file /etc/my.cnf from install of Percona-Server-shared-51-5.1.73-rel14.12.625.rhel6.x86_64 conflicts with file from package mysql-community-server-5.5.54-2.el6.x86_64

My setup is:

  • OS: CentOS release 6.8
  • Mysql: mysql-community-server-5.5.54-2.el6.x86_64
  • Percona Toolkit: 3.0.2

Best Answer

Not sure if it helps but digitalocean.com has a tutorial on replacing MySQL with Percona.

https://www.digitalocean.com/community/tutorials/how-to-install-a-fresh-percona-server-or-replace-mysql