LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-11-2009, 06:03 PM   #1
rebelde
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
yum install php-mysql fails with mysql 5.1 - "Error: mysql conflicts with MySQL"


I can't figure this out.

CentOS5
I've installed MySQL 5.1.32 (client and server).
I've used the standard PHP (5.1.6) and Apache (2.2.3) that came with the OS.

Wanting PHP to talk to MySQL, I try:
yum install php-mysql

I get the error:
Error: mysql conflicts with MySQL

Any ideas?

(I wish I could just run the PHP configure command '--with-mysql',but have no idea how to do that with yum.)

Thanks!
 
Old 03-12-2009, 06:12 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,415

Rep: Reputation: 99
Welcome!
I don't know whether the problem is obvious or not. The driver's version is lower than the installed mysql server and client. So I think there are 2 clean solutions possible:

1. Install everything from source
2. Install everything with your distro's packet manager

Personally I recommend the first as it gives you more freedom in the long run.
Cheers, J.
 
Old 03-13-2009, 10:32 AM   #3
rebelde
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks!

I was hoping for a third option.

I chose #2 for now just to keep it easy. I'm back on MySQL 5.0 for now. When I find the time, I'll probably go with route #1 to get the advantages of the newer software, such as security bug fixes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
MySQL 5.0.67: Unable to install & run. Error /var/lib/mysql/mysql.sock' (2) peteyperson Linux - Server 2 03-04-2009 01:16 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. SpellChainz Linux - Newbie 1 06-23-2007 03:35 PM
Buzilla issue: "Can't connect to local MySQL server through socket '/tmp/mysql.sock'" vitopn Linux - General 3 05-21-2007 10:13 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM


All times are GMT -5. The time now is 04:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration