|
Posted by J.O. Aho on 03/02/06 21:16
trihanhcie@gmail.com wrote:
> I m currently working on a Unix server with a fedora 3 as an os
>
> My current version of mysql is 3.23.58. I'd like to upgrade the version
> to 5.0.18.
> After downloading from MYSQL.COM the package on the site, I made :
> rpm -i MySQL-server-5.0.18-0.i386.rpm
>
> then i have errors that relate to many conflicts. I cannot figure out
> why -and- cannot upgrade. Please Help !
RedHat uses package name mysql-server
mysql.com uses package name MySQL-server
as RPM is case sensitive it makes MySQL-server != mysql-server
When upgrading you don't use the '-i' option, this is really for installing
and should be avoided to be used. The option for upgrading and installing is
'-Uvh' (this includes verbose output too).
rpm -Uvh <pacakgefile>
What you need to do is to uninstall mysql-server (rpm -e mysql-server), before
you can install MySQL-server (rpm -Uvh MySQL-server-5.0.18-0.i386.rpm). When
trying to uninstall mysql-server, you will get a list of packages depending on
mysql-server, most some of them are mysql-devel and mysql, you will need to
uninstall those too and replace with those from mysql.com. You will need the
'--force' option during the uninstall and maybe even during installing.
If you are using mysql together with php and apache, then you need to rebuild
those RPMs or else you break the system.
I do strongly suggest you use the RPMs supplied by Fedora Project, you will
end with a lot less work.
mysql-server:
http://rpmfind.net/linux/rpm2html/search.php?query=mysql-server&submit=Search+...&system=Fedora&arch=
mysql:
http://rpmfind.net/linux/rpm2html/search.php?query=mysql&submit=Search+...&system=fedora&arch=
mysql-devel:
http://rpmfind.net/linux/rpm2html/search.php?query=mysql-devel&submit=Search+...&system=fedora&arch=
apache:
http://rpmfind.net/linux/rpm2html/search.php?query=httpd&submit=Search+...&system=fedora&arch=
http://rpmfind.net/linux/rpm2html/search.php?query=httpd-devel&submit=Search+...&system=fedora&arch=
php:
http://rpmfind.net/linux/rpm2html/search.php?query=php&submit=Search+...&system=fedora&arch=
php-devel:
http://rpmfind.net/linux/rpm2html/search.php?query=php-devel&submit=Search+...&system=fedora&arch=
php_mysql:
http://rpmfind.net/linux/rpm2html/search.php?query=php_mysql&submit=Search+...&system=fedora&arch=
//Aho
Navigation:
[Reply to this message]
|