Upgrade mysql via yum in CentOS 4?

twv

Verified User
Joined
Oct 31, 2003
Messages
219
In http://help.directadmin.com/item.php?id=137 it says
Redhat/Fedora/CentOS (anything with rpms):
Conversion with rpms is quite easy (note the above notices about moving from 4.0 to 4.1 or higher still apply).
Download the 4 MySQL rpms that you want to use, either from files.directadmin.com or from dev.mysql.com. You'll need the server, client, shared and devel rpms. You must not have any mismatched versions. We recommend generic i386 rpms. If you have 64-bit system, then you'll need binaries specific to your system (dev.mysql.com has everything you'll need)
Use wget to download all 4 rpms, then use "rpm -Uvh file.rpm" to update/install them, for example:

So would it be possible to use yum to manage mysql?
 
We use yum to manage MySQL; we install it when we build our servers.

However, if you've already installed MySQL from source, then you're on your own during the conversion. Make sure you make backups of everything MySQL related, including all the databases.

Jeff
 
Back
Top