- 论坛徽章:
- 0
|
本帖最后由 sunwenju 于 2010-11-25 17:20 编辑
继续错误中
[root@sun /]# rpm -qa my*
mysql-server-3.23.54a-11
[root@sun /]# rpm -e mysql-server-3.23.54a-11
在 mysqld 服务中读取信息时出错:没有那个文件或目录
error: %preun(mysql-server-3.23.54a-11) scriptlet failed, exit status 1
[root@sun /]# rpm -qa my*
mysql-server-3.23.54a-11
[root@sun /]# rpm -e --nodeps mysql-server-3.23.54a-11
在 mysqld 服务中读取信息时出错:没有那个文件或目录
error: %preun(mysql-server-3.23.54a-11) scriptlet failed, exit status 1
[root@sun /]# cd /123/
[root@sun 123]# ls
mysql-3.23.54a-11.i386.rpm MySQL-python-0.9.1-6.i386.rpm
MySQL-client-5.1.53-1.glibc23.i386.rpm mysql-server-3.23.54a-11.i386.rpm
mysql-devel-3.23.54a-11.i386.rpm MySQL-server-5.1.53-1.glibc23.i386.rpm
[root@sun 123]# rpm -Uvh MySQL-server-5.1.53-1.glibc23.i386.rpm
warning: MySQL-server-5.1.53-1.glibc23.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
******************************************************************
A MySQL server package (mysql-server-3.23.54a-11) is installed.
The current MySQL server package is provided by a different
vendor (Red Hat, Inc.) than MySQL AB, Sun Microsystems, Inc., or Oracle and/or its affiliates.
Some files may be installed to different locations, including log
files and the service startup script in /etc/init.d/.
Upgrading directly from MySQL 3.23 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 Oracle and/or its affiliates
- 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.53-1.glibc23) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MySQL-server-5.1.53-1.glibc23
[root@sun 123]# |
|