LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-17-2013, 06:36 AM   #1
petruha1983
LQ Newbie
 
Registered: Feb 2009
Posts: 15

Rep: Reputation: 0
Exclamation Trying to install "php-mysql" get dependencies error. Please help


Hi guys/girls,
I have CentOS 6.4(64 bit)
I have also MySQL 5.5 server/client/devel/
shared.
The MySQL is working great, no problem with that.
I want to install php-mysql now.
Then I try to "yum insyall php-mysql" , it says that i have dependencies conflict with mysql-libs 5.1
Why would it search for old MySQL if I already have working newer version?
Ho do I change its dependencies? how do I resolve this issue and install the php-mysql?


Thanks,
Peter
 
Old 06-17-2013, 07:27 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Did you tried

yum install php53-mysql

Thanks
 
Old 06-17-2013, 08:04 AM   #3
petruha1983
LQ Newbie
 
Registered: Feb 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vishesh View Post
Did you tried

yum install php53-mysql

Thanks
Yes,
got this:
No package php53-mysql available.

What Repo. should i add to install it?
 
Old 06-17-2013, 08:12 AM   #4
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
I can find php-mysql in Base repo of Centos6. Can you list output of yum repolist command.

Thanks
 
Old 06-17-2013, 08:28 AM   #5
petruha1983
LQ Newbie
 
Registered: Feb 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vishesh View Post
I can find php-mysql in Base repo of Centos6. Can you list output of yum repolist command.

Thanks
I can see the "php-mysql" in the repo but when i try to install it, it demands dependence of mysql-libs 5.1 that conflicts with my already running and working mysql 5.5 / as i described in the first place.
How do I make him see that I have already a version of 5.5 (why does he looks for version 5.1), Or is there any alternative way to install php-mysql?

Peter
 
Old 06-17-2013, 08:30 AM   #6
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
You can try by creating soft link mysql-libs 5.5 which will point mysql-libs 5.1

Thanks
 
Old 06-17-2013, 09:01 AM   #7
petruha1983
LQ Newbie
 
Registered: Feb 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vishesh View Post
You can try by creating soft link mysql-libs 5.5 which will point mysql-libs 5.1

Thanks
Could you please tell me how do I do that?

Peter
 
Old 06-17-2013, 09:32 AM   #8
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Find the location of mysql-libs 5.1. Suppose you found it in directory /usr/lib/mysql/
#cd /usr/lib/mysql/
#ln -s mysql-libs 5.1 mysql-libs 5.5

Thanks
 
Old 06-17-2013, 08:34 PM   #9
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
How did you install MySQL 5.5; the MySQL from the Centos 6.4 repo is 5.1
Code:
 rpm -qa|grep -i mysql
mysql-5.1.69-1.el6_4.x86_64
mysql-server-5.1.69-1.el6_4.x86_64
mysql-libs-5.1.69-1.el6_4.x86_64
 
Old 06-17-2013, 11:10 PM   #10
petruha1983
LQ Newbie
 
Registered: Feb 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
How did you install MySQL 5.5; the MySQL from the Centos 6.4 repo is 5.1
Code:
 rpm -qa|grep -i mysql
mysql-5.1.69-1.el6_4.x86_64
mysql-server-5.1.69-1.el6_4.x86_64
mysql-libs-5.1.69-1.el6_4.x86_64
I have installed it manually.
I need the newer version.
 
Old 06-19-2013, 06:37 AM   #11
tonmoy
LQ Newbie
 
Registered: Apr 2013
Location: Dhaka, Bangladesh
Distribution: CentOS, Red Hat
Posts: 28

Rep: Reputation: 2
Dear Peter:

Have you tried installing the package (php-mysql-5.xxx.rpm) manually? If not, please search for the rpm (rpmfind.net, rpm.pbone.net, pkgs.org) and try it manually.

-
Tonmoy
 
Old 06-19-2013, 11:12 PM   #12
petruha1983
LQ Newbie
 
Registered: Feb 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Eventually I have managed to install the latest packages via YUM after adding the REMI and EPEL repositories.

Peter
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
php "system"-call to access tty port, "error accessing" wedz Linux - Software 3 05-22-2012 07:34 PM
yum install php-mysql fails with mysql 5.1 - "Error: mysql conflicts with MySQL" rebelde Linux - Software 2 03-13-2009 10:32 AM
which is better "mysql" or "mysqli" to use in php 5.2.6 !? robertjinx Linux - Server 1 12-07-2008 08:32 AM
java console wont install "error: Failed dependencies" io13 Linux - Software 2 08-26-2006 06:02 PM
mysql install error says "please submit bug report" learnfast Linux - Newbie 1 04-30-2005 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration