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