i need to use mysql 4.0 on my server,
after downgrade mysql from 5.0 to 4.0,
i restore my cpanel account to the server,
all mysql page get error,
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.
Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
pico /var/cpanel/cpanel.config,change mysql-version=4.1 into mysql-version=4.
cp -fr /var/lib/mysql /var/lib/mysql.old
rm -fr /var/lib/mysql
rm -f /usr/sbin/mysqld
mv "/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so" /root/
tar -zxvf DBD-mysql-4.001.tar.gz
If this is happening on a production server and you need it fixed ASAP you should hire a server management company as going back and forward on the forums can be time consuming for you and your clients.