Install Of MySQL RPM Conflicts Mysql-libs on Red Hat.
This is applies to MySQL Server - Version 5.5 and later release.
The mysql-libs package in the default build of Red Hat Enterprise Linux (RHEL) conflicts with the official MySQL RPMs.
How can we handle this issue?
There are some inconsistencies in Red Hat's mysql-libs package for official MySQL RPMs.
Generally, when you have conflicts over which two packages provide the same file, it will instruct the rpm client to replace the existing files with the last RPM using below command:
However, all MySQL RPMs must be installed, and not only RPM * -server, also shared and shared-compat RPMs.
rpm -Uvh --replacefiles MySQL-server-....rpm
So assuming you have all the RPMs in the current directory, you run this command:
The shared-compat RPM will replace the actual files contained in the mysql-libs package. The shared-compat RPM contains the mysql client library for 5.6, 5.5, 5.1, 5.0, 4.1, and 4.0.
The MySQL RPM's actually obsolete the mysql-libs package in the RPM spec file.
rpm -Uvh --replacefiles ./MySQL-*.rpm

