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


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » MySQL / MariaDB

How to downgrade to MySQL 4.0 from 4.1 (Linux/rpms)Last Modified: Oct 20, 2006, 12:19 pm
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.

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST