Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-27-2006, 07:17 AM   #1
Registered: May 2004
Location: Ireland
Distribution: Debian
Posts: 56

Rep: Reputation: 15
Fedora Core 5- MySQL Downgrade

I've a new dedicated server that runs Fedora. I'm much more familar
with debian so i just wanted to get a bit of advice on here. It has
mysql5 installed by default but the online shopping cart sofware we use
has a problem with mysql5 so i want to down grade to mysql4.

So is there a safe way to do this using RMPs?

Old 07-27-2006, 07:35 AM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Probably by removing MySQL rpms (preferably using yum or other package manager) and then installing the MySQL 4 rpms. I don't think MySQL will be a problem; if I remember correctly, it doesn't have too many dependencies, so actually you'll only have to remove one or two (or so) MySQL packages, and probably (depending on how you implement MySQL database) some other packages, like php-mysql for example.

You should be able to just try
rpm -e mysql
and get an error with some dependencies that'd break. Then you know which packages need MySQL. Then go googling and check out if you need to downgrade them too, or do they work with MySQL 4; if they do work, then just force-remove MySQL 5 and install MySQL 4. If they need downgrading, you simply need to obtain the correct (older) versions of them and do the downgrade job, and possibly get an error of some dependencies and solve them out too.

But as I said, I don't think it's too great a job for MySQL; I'd guess it's a small number of packets you need to get, downgrade and reinstall.

For example (these packages are imaginary) if you tried removing mysql and it told you that php-mysql and xxx-mysql packages need it, you would first find out what versions of mysql work with those. You'd then learn that (for example) php-mysql works with mysql5 only, but xxx-mysql would work with version 4 too; then you'd force-remove MySQL5, downgrade php-mysql, install MySQL4, perhaps reinstall xxx-mysql to be sure and try.

The big problem may occur if a package X needs the version 5 of MySQL, and downgrading that you'd get to know that package Y needs the specific version of package X and so on. It's a dependency hell of one kind, but as I said, I don't think MySQL leads to such a thing. At least it was so simple to install last time I tried that I don't think downgrading it is a headache.
Old 07-27-2006, 07:51 AM   #3
Registered: May 2004
Location: Ireland
Distribution: Debian
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks for the reply, much appreciate. One last question; Were would be the best place to get the exact package i need for mysql4 on Fedora Core 5.
Old 07-27-2006, 10:59 AM   #4
Registered: May 2004
Location: Ireland
Distribution: Debian
Posts: 56

Original Poster
Rep: Reputation: 15
I tried

#yum remove mysql-5.0.22-1.FC5.1

and that appeared to work but i couldn't install mysql4

When i run

#yum install mysql4

It says it can't find that package.

If i do

#yum install mysql

it just reinstalls 5

Is there any way to install mysql4 with yum?


fedora, mysql

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
fedora core 2, with mysql 5.0 and mysql 3.23 dependencies. ilazarte Linux - Software 1 02-07-2006 04:00 PM
mysql 5.0 downgrade to 4.1 Ipolit Debian 1 01-20-2006 01:44 PM
Mysql 4.1 -> 4.0 downgrade problem frisco-driver Linux - Software 1 05-15-2005 11:14 PM
Fedora Core 3, MySql Server, mysql started mysql ended OkiTek Fedora 30 01-28-2005 09:15 AM
Downgrade Fedora Core Kernel redneon Linux - Software 2 07-15-2004 03:09 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:53 AM.

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