免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1927 | 回复: 4
打印 上一主题 下一主题

[安装 RPM方式]安装MySQL 5.0.16 出错!SOS [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-06 10:07 |只看该作者 |倒序浏览
#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 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2005-12-06 14:21 |只看该作者
最好不要加 ‘--nodeps ’这个参数!因为rpm安装时有很多依赖关系,这个参数时强制安装可能倒是软件不可用!
herofy 该用户已被删除
3 [报告]
发表于 2005-12-06 16:59 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
1
巳蛇
日期:2014-12-29 11:22:41
4 [报告]
发表于 2005-12-07 09:32 |只看该作者
如果不加--nodeps,你就装不上5.0.16的rpm包,呵呵
这已经经过正式,是一个官方bug,大胆地加入--nodeps吧

不过对于别的软件,我没有验证,请慎用--nodeps

论坛徽章:
0
5 [报告]
发表于 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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP