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.
I tried to make symbolic link and force DBD to work with 16. But it failed with error. Looks like libmysqlclient provides it version or has different API (which is strange for me)
The only one idea I have is to fetch libmysqlclient.15 from some packet and put it to my LD folder directly.
But what has happened? Where is DBD for new version (16)? What is the best ("official") way to solve it?
Thanks.
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
Thanks. 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.
Ilya.
On Tue, Mar 13, 2012 at 11:28 PM, m.roth@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@centos.org http://lists.centos.org/mailman/listinfo/centos
On Tue, Mar 13, 2012 at 4:41 PM, Ilya Kazakevich kazakevichilya@gmail.com wrote:
Thanks. 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).
There have been a lot of security-related fixes since 5..1.
On Wed, Mar 14, 2012 at 1:45 AM, Les Mikesell lesmikesell@gmail.com wrote:
On Tue, Mar 13, 2012 at 4:41 PM, Ilya Kazakevich kazakevichilya@gmail.com wrote:
Thanks. 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).
There have been a lot of security-related fixes since 5..1.
I know but I do not want to update it now. I tried to use cpan, but it needs mysql_config (tool that tells it which options should be used for mysql) and my MySQL package has no such tool.
At least I installed libmysqlclient15 using yum from webtatic repo and now I have 2 of them, so my "mysql" app would use 16 while perl-DBD-mysql (which installed successfully now) should use 15.
Hope 15 is ok for my perl app.
Thanks.