Run this command to list your currently installed packages:

rpm -qa | grep -i mysql

Then for each package listed, run:

rpm -e PACKAGE_NAME

This "rpm -e" will remove your MySQL package. There should be separate 
packages for MySQL: server, client, shared libraries, etc. Remove all of 
them that are related to your 4.1 installation. Your datafiles and my.cnf 
files SHOULD not be removed when you run "rpm -e", but you could move them 
to another directory to make sure that they won't be deleted.

After that, just install your 4.0 RPMs and move your datafiles to the 
original directory.

Also check the documentation:

http://www.mysql.com/documentation/mysql/bychapter/manual_Installing.html#Upgrade

[]s,
Sergio Salvi.

On Thu, 30 Oct 2003, Mike Nelson wrote:

> Hello,
>  
>     Can somebody give me some instructions on how to uninstall Mysql
> 4.1.  I have a redhat 2.1 AS box.  I installed the rpm dist from
> mysql.com.  I want to put MySql 4.0 on that machine.  I would think this
> is something fairly easy to do.  I cannot seem to locate any
> instructions though.  Im fairly new to Linux by the way, if you have not
> already guessed.
>  
> Any help would be greatly appreciated.
>  
> Thank You,
>  
> Mike.
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> 
> www.mimesweeper.com
> **********************************************************************
> 
> 


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to