How to downgrade to MySQL 4.0 from 4.1 (Linux/rpms)

If you need mysql 4.0 installed instead of 4.1, you can remove 4.1 and install 4.0 by following this guide. This guide will wipe out any databases, so you'll need to make backups if you've already setup your databases

cd /usr/local/directadmin/scripts/packages
rm -f MySQL*
wget http://files.directadmin.com/services/all/mysql/MySQL-client-4.0.27-0.i386.rpm
wget http://files.directadmin.com/services/all/mysql/MySQL-devel-4.0.27-0.i386.rpm
wget http://files.directadmin.com/services/all/mysql/MySQL-server-4.0.27-0.i386.rpm
wget http://files.directadmin.com/services/all/mysql/MySQL-shared-4.0.27-0.i386.rpm
cd ..
./mysql.sh rootpass da_admin daadmnpass

Where rootpass and daadmnpass can be anything you want. This is where they are set, so you can use any passwords you want for them. The installer will ask you to delete the data. You need to select 'y' (yes) to delete the data. If you've done this before you may need to manually delete /var/lib/mysql first.

 
mysql/downgrade.txt · Last modified: 2010/02/21 02:42 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Please visit Automatic Backlinks to start earning free backlinks Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki