Chinaunix

标题: [安装 RPM方式]安装MySQL 5.0.16 出错!SOS [打印本页]

作者: 红雨    时间: 2005-12-06 10:07
标题: [安装 RPM方式]安装MySQL 5.0.16 出错!SOS
#rpm --nodeps -Uvh MySQL-server-standard-5.0.16-0.rhel4.i386.rpm
warning: MySQL-server-standard-5.0.16-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
   1:MySQL-server-standard  ########################################### [100%]
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h mail.c-bons.cn password 'new-password'
See the manual for more instructions.

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting MySQLCouldn't find MySQL manager or server[FAILED]

[ 本帖最后由 yejr 于 2005-12-6 17:57 编辑 ]
作者: mageguoshi    时间: 2005-12-06 14:21
最好不要加 ‘--nodeps ’这个参数!因为rpm安装时有很多依赖关系,这个参数时强制安装可能倒是软件不可用!
作者: herofy    时间: 2005-12-06 16:59
提示: 作者被禁止或删除 内容自动屏蔽
作者: bjchenxu    时间: 2005-12-07 09:32
如果不加--nodeps,你就装不上5.0.16的rpm包,呵呵
这已经经过正式,是一个官方bug,大胆地加入--nodeps吧

不过对于别的软件,我没有验证,请慎用--nodeps
作者: 红雨    时间: 2005-12-07 10:33
已经自行解决,步骤如下:

# 卸载旧版本的相关包
rpm -e mysqlclient10-3.23.58-4.RHEL4.1
rpm -e cyrus-sasl-sql-2.1.19-5.EL4.i386
rpm -e mysql-4.1.12-3.RHEL4.1
# 创建组和用户
groupadd mysql
useradd -g mysql mysql
# 安装包
rpm -ivhU MySQL-server-standard-5.0.16-0.rhel4.i386.rpm
rpm -ivhU MySQL-client-standard-5.0.16-0.rhel4.i386.rpm
rpm -ivhU MySQL-devel-standard-5.0.16-0.rhel4.i386.rpm




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2