download mysql and failed.

cc2

New member
Joined
Mar 15, 2009
Messages
1
HI ,

New install server with Centos 64 bit.

i try This url "http://help.directadmin.com/item.php?id=96" try downgrade to mysql 4.0(as some customer need) , but after that , i failed.

Try RPM -e , but not work , can i reinstall mysql?Thanks.:eek:



[root@dia scripts]# ./mysql.sh rootpass xxxx
Preparing... ########################################### [100%]

******************************************************************
A MySQL server package (MySQL-server-community-5.0.51a-0.rhel4
MySQL-server-4.0.27-0) is installed.

The current MySQL server package is provided by a different
vendor (package MySQL-server-community-5.0.51a-0.rhel4
MySQL-server-4.0.27-0 is not installed) than MySQL AB or Sun Microsystems, Inc..
Some files may be installed to different locations, including log
files and the service startup script in /etc/init.d/.

Upgrading directly from MySQL <unrecognized version package MySQL-server-community-5.0.51a-0.rhel4
MySQL-server-4.0.27-0 is not installed> to MySQL 5.1 may not
be safe in all cases. A manual dump and restore using mysqldump is
recommended. It is important to review the MySQL manual's Upgrading
section for version-specific incompatibilities.

A manual upgrade is required.

- Ensure that you have a complete, working backup of your data and my.cnf
files
- Shut down the MySQL server cleanly
- Remove the existing MySQL packages. Usually this command will
list the packages you should remove:
rpm -qa | grep -i '^mysql-'

You may choose to use 'rpm --nodeps -ev <package-name>' to remove
the package which contains the mysqlclient shared library. The
library will be reinstalled by the MySQL-shared-compat package.
- Install the new MySQL packages supplied by Sun Microsystems, Inc.
- Ensure that the MySQL server is started
- Run the 'mysql_upgrade' program

This is a brief description of the upgrade process. Important details
can be found in the MySQL manual, in the Upgrading section.
******************************************************************
error: %pre(MySQL-server-5.1.32-0.glibc23.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MySQL-server-5.1.32-0.glibc23
Preparing... ########################################### [100%]
1:MySQL-client ########################################### [100%]
Preparing... ########################################### [100%]
1:MySQL-devel ########################################### [100%]
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)
Updating privilege tables...
 
Back
Top