How to update the MySQL from version 4 to 5 under CentOS 4.4

Issues related to software problems
WeeHughie
Posts: 9
Joined: 2006/02/26 19:39:15
Location: Ontario, Canada

Re: How to update the MySQL from version 4 to 5 under CentOS 4.4

Post by WeeHughie » 2008/11/30 15:30:25

Thanks for the suggestion Alan, but no - that does not work.

WeeHughie
Posts: 9
Joined: 2006/02/26 19:39:15
Location: Ontario, Canada

Re: How to update the MySQL from version 4 to 5 under CentOS 4.4

Post by WeeHughie » 2008/11/30 17:05:11

Would it be safe to manually install the packages using rpm and forcing them?

I just don't want to break anything. The only error message now is the one about the conflict of the php.ini file - but surely it would be replaced anyhow with the new PHP5?

I wish I had another box to test on - but unfortunately I don't, and this is getting to be a bit of an urgent situation because I had to upgrade some software that requires MySQL 5.

User avatar
AlanBartlett
Forum Moderator
Posts: 9323
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: How to update the MySQL from version 4 to 5 under CentOS 4.4

Post by AlanBartlett » 2008/11/30 17:19:13

There would be no harm in trying a [b]yum remove [i][/i][/b] command as you will be presented with a list to review [i]before[/i] being asked for your consent.

My advice is to [i]avoid[/i] the [i]--force[/i] or [i]--nodeps[/i] flag to the [i]rpm[/i] command until such time as all other options have been exhausted.

Ensure you have a validated backup before you start . . . Good luck.

WeeHughie
Posts: 9
Joined: 2006/02/26 19:39:15
Location: Ontario, Canada

Re: How to update the MySQL from version 4 to 5 under CentOS 4.4

Post by WeeHughie » 2008/12/04 03:31:03

Thanks - in the end I did remove the PHP packages, and then installed them using CentosPlus. Things went mostly well, although there were some sites that in the end, needed some surgery to get them back working correctly. OSCommerce enabled site comes to mind.

After that, I decided to upgrade httpd from CentosPlus. I regret doing that. Constant segfaults and mysql connection problems. In the end, I downgraded httpd from the CentosPlus package.

Thank you very much for your thoughts, suggestions, and tips.

Ian

User avatar
AlanBartlett
Forum Moderator
Posts: 9323
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: How to update the MySQL from version 4 to 5 under CentOS 4.4

Post by AlanBartlett » 2008/12/04 15:12:47

[quote]After that, I decided to upgrade httpd from CentosPlus. I regret doing that.[/quote]
Sometimes you win -- sometimes you loose. ;-)

However, you've now reached a satisfactory conclusion to this issue -- I hope.

WeeHughie
Posts: 9
Joined: 2006/02/26 19:39:15
Location: Ontario, Canada

Re: How to update the MySQL from version 4 to 5 under CentOS 4.4

Post by WeeHughie » 2008/12/04 18:56:25

[quote]
AlanJBartlett wrote:
However, you've now reached a satisfactory conclusion to this issue -- I hope.[/quote]

Unfortunately not completely - but the present problem probably deserves a new topic/thread.

Post Reply

Return to “CentOS 4 - Software Support”