[CentOS] perl-DBD-MySQL, libmysqlclient.16 and 5.7 (FInal)

Ilya Kazakevich kazakevichilya at gmail.com
Tue Mar 13 21:41:23 UTC 2012

My problem is stupid: person who installed MySQL on this server did not use
yum repositories at all!
I have "MySQL-shared-community-5.*1*.57-1.rhel5" installed (according to
rpm -qa) while yum repositories have 5.*0*.95 (according to repoquery -i
mysql) and it leads to inconsistency. I think 15 version of libmysqlclient
is for 5.0 while 16 is for 5.1.

I believe someone have asked IT person to install mysql 5.1. Person found
that CentOS 5.7 repositories have no 5.1, so he installed it from external
.rpm file (because he did not want to upgrade the whole system).

I will use cpan to install perl-DBD-mysql, it should work.


On Tue, Mar 13, 2012 at 11:28 PM, <m.roth at 5-cent.us> wrote:

> Ilya Kazakevich wrote:
> > Hello,
> >
> > I have server CentOS 5.7. It has mysql-community installed.
> >
> > I need to run perl-based tool (mysqlreport) and it requires
> perl-DBD-MySQL
> > (not a surprise)
> >
> > When I am trying to install perl-DBD-MySQL via yum -- it says it requires
> > libmysqlclient.*15 *and it conflicts with libmysqlclient.*16 *which was
> > installed as a part of mysql-community.
> Sounds like you've got conflicting repos enabled, like rpmforge vs. the
> std. ones. You might have to reinstall mysql from a different repo - where
> *was* it from?
> <snip>
>       mark
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

More information about the CentOS mailing list