If I am going to run "rpm -Uvh" then why would I need to remove the current mysql server?  If I remove the current mysql, shouldn't I run "rpm -ivh" instead?<br><br><br><br>Thanks for the help so far.<br>
<br><div class="gmail_quote">On Tue, Apr 15, 2008 at 6:24 PM, Morten Nilsen <<a href="mailto:morten@runsafe.no">morten@runsafe.no</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Tito Valentin wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I am trying to upgrade MySQL on CentOS 4.5 but having a hard time.  I need to go from MySQL 4.1 to 5.  I downloaded the following two files:<br>
<br>
mysql-server-5.0.58-1.el4.centos.i386.rpm<br>
mysql-5.0.48-2.el4.centos.i386.rpm<br>
<br>
I tried to do:<br>
<br>
yum install mysql-server-5.0.58-1.el4.centos.i386.rpm<br>
</blockquote>
<br></div>
The command to use here would be rpm -Uvh, as these packages are not in the yum system.<br>
<br>
You would need to uninstall the current mysql first, however - and to migrate any data, you need to use mysqldump --all --opt before that, and then import it back after 5.x is installed.<br>
<br>
Last time I checked, you could not use the same database files for different major versions of MySQL - I could be wrong on this point, however.<br><font color="#888888">
<br>
-- <br>
Cheers,<br>
Morten<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org" target="_blank">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</font></blockquote></div><br>