downgrade MYSQL 4.0

c0232076

New member
Joined
Aug 28, 2005
Messages
2
DA default ths mysql 4.1
but i want to downgrade to mysql 4.0
anybody can tell me how to do ??
thank you very much
 
If you don't have any data that needs to be downgraded as well, just remove MySQL 4.1 and install 4.0 like a new installation.
 
i login than
cd /usr/local/directadmin/scripts/packages
rm -f MySQL*
wget http://files.directadmin.com/services/all/MySQL-client-4.0.26-0.i386.rpm
wget http://files.directadmin.com/services/all/MySQL-devel-4.0.26-0.i386.rpm
wget http://files.directadmin.com/services/all/MySQL-server-4.0.26-0.i386.rpm
wget http://files.directadmin.com/services/all/MySQL-shared-4.0.26-0.i386.rpm
cd /usr/local/directadmin/scripts
./mysql.sh mysqlroot da_admin mysqladmin
y

than show :
-------------------------------------------------------------------------------
mv: cannot overwrite directory `/var/lib/mysql.backup/mysql'
error: Failed dependencies:
perl(DBI) is needed by MySQL-server-4.0.26-0.i386
error: Failed dependencies:
perl(DBI) is needed by MySQL-client-4.0.26-0.i386
Preparing... ########################################### [100%]
1:MySQL-devel ########################################### [100%]
Starting MySQL................................... [FAILED]
Waiting for mysqld to start....
Setting MySQL Root Password...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Setting DirectAdmin user and password...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
-------------------------------------------------------------------------------
pleace tell me how to do??
i have download it but........
thank you much
 
Back
Top