installation of mysql-connector-odbc fails

I need to install the odbc-connector, but there is a contradiction between the RHEL repositories and Percona’s

This is my command:
yum -y install mysql-connector-odbc
and these are the error messages:

Loaded plugins: refresh-packagekit, rhnplugin
Setting up Install Process
Resolving Dependencies
→ Running transaction check
—> Package mysql-connector-odbc.x86_64 0:5.1.5r1144-7.el6 will be installed
→ Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16)(64bit) for package: mysql-connector-odbc-5.1.5r1144-7.el6.x86_64
→ Processing Dependency: libmysqlclient_r.so.16()(64bit) for package: mysql-connector-odbc-5.1.5r1144-7.el6.x86_64
→ Running transaction check
—> Package Percona-Server-shared-51.x86_64 0:5.1.59-rel13.0.325.rhel6 will be installed
→ Finished Dependency Resolution

Dependencies Resolved

============================================================ ============================================================ ===========
Package Arch Version Repository Size
============================================================ ============================================================ ===========
Installing:
mysql-connector-odbc x86_64 5.1.5r1144-7.el6 rhel-x86_64-server-6 114 k
Installing for dependencies:
Percona-Server-shared-51 x86_64 5.1.59-rel13.0.325.rhel6 percona 2.8 M

Transaction Summary
============================================================ ============================================================ ===========
Install 2 Package(s)

Total download size: 2.9 M
Installed size: 8.2 M
Downloading Packages:
(1/2): Percona-Server-shared-51-5.1.59-rel13.0.325.rhel6.x86_64.rpm | 2.8 MB 00:03
(2/2): mysql-connector-odbc-5.1.5r1144-7.el6.x86_64.rpm | 114 kB 00:00


Total 367 kB/s | 2.9 MB 00:08
Running rpm_check_debug
Running Transaction Test

Transaction Check Error:
file /usr/lib64/libmysqlclient.so from install of Percona-Server-shared-51-5.1.59-rel13.0.325.rhel6.x86_64 conflicts with file from package Percona-Server-shared-55-5.5.16-rel22.0.189.rhel6.x86_64
file /usr/lib64/libmysqlclient_r.so from install of Percona-Server-shared-51-5.1.59-rel13.0.325.rhel6.x86_64 conflicts with file from package Percona-Server-shared-55-5.5.16-rel22.0.189.rhel6.x86_64
file /usr/lib64/mysql/plugin/libfnv1a_udf.a from install of Percona-Server-shared-51-5.1.59-rel13.0.325.rhel6.x86_64 conflicts with file from package Percona-Server-shared-55-5.5.16-rel22.0.189.rhel6.x86_64
file /usr/lib64/mysql/plugin/libfnv_udf.a from install of Percona-Server-shared-51-5.1.59-rel13.0.325.rhel6.x86_64 conflicts with file from package Percona-Server-shared-55-5.5.16-rel22.0.189.rhel6.x86_64
file /usr/lib64/mysql/plugin/libmurmur_udf.a from install of Percona-Server-shared-51-5.1.59-rel13.0.325.rhel6.x86_64 conflicts with file from package Percona-Server-shared-55-5.5.16-rel22.0.189.rhel6.x86_64

Error Summary

I encountered this too, and found that the solution Chris (cgrello) had to a CentOS 6 package signing problem also fixed this problem.