发新话题
打印

[已解决] 安装mysql问题

本主题由 zhaojie78 于 2007-11-21 16:13 设置高亮

安装mysql问题

本文网址:http://bbs.bitscn.com/143105 复制

在linux下安装mysql    显示如下
warning: mysql-server-5.1.17-0.glibc23.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
        package MySQL-server-5.1.17-0.glibc23 is already installed
本人菜鸟,不明白,只知道没有安装上,求告知。

[ 本帖最后由 richie_freedom 于 2007-11-30 11:38 编辑 ]

本帖最近评分记录
  • zhaojie78 盟币 +2 欢迎光临,以后多多讨论 2007-11-21 15:19

TOP

你的安装完全正常!你的进度条显示你已经100%安装成功了!
至于warning: V3 DSA signature: NOKEY, key ID 这一行是 RPM软件包安装时生成的密钥,每个RPM软件在安装时都会有这行,不 在 你 考虑的范畴之内.
1,先看看你的MYSQL是否安装
#rpm -qa | grep mysql
看看有没有反回结果.
2你可以看看你 的MYSQLD是否运行:
# pstree | grep mysqld
如果有 |-mysqld_safe---mysqld 这一行说明你的 MYSQL在运行.
或者 #service mysqld status
3#service mysqld restart
4#chkconfig --level 345 mysqld on 保证在下次从起时在345运行级别上都能起动.

本帖最近评分记录
  • zhaojie78 盟币 +2 感谢参与,欢迎常来 2007-11-21 15:21
http://blog.n3tl04d.cn
万里长城十亿兵,国耻岂待儿孙平
愿提十万虎狼旅,越马提刀入东京
======================
对某版主处理问题的态度感到不满

TOP

#rpm -qa | grep mysql
无返回

请再指教指教

TOP

安装完这个以后不用先重起及其吧?

TOP

2楼解析很正确

楼主可以用netstat看Mysql端口是否打开,

如打开表示服务已经启动,安装成功。

Mysql默认的端口是3306。

楼主现试试把

刚刚开业的小店 欢迎大家光临 进来坐坐
http://shop36076987.taobao.com/
.........................
技术成就梦想..  思想改变命运...
做一个有技术有思想的人....
我的群1798388........

TOP

warning: MySQL-server-community-5.1.22-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
        file /etc/init.d/mysql from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/my_print_defaults from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/myisam_ftdump from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/myisamchk from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/myisamlog from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/myisampack from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/mysql_install_db from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/mysql_setpermission from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/mysql_tzinfo_to_sql from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/mysql_upgrade from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/mysqlbug from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/mysqld_multi from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/mysqld_safe from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/mysqltest from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/perror from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/replace from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/resolve_stack_dump from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/bin/resolveip from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/sbin/mysqld from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/sbin/mysqld-debug from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/sbin/mysqlmanager from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/info/mysql.info.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/my_print_defaults.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/myisam_ftdump.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/myisamchk.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/myisamlog.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/myisampack.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/mysql.server.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/mysql_fix_privilege_tables.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/mysql_tzinfo_to_sql.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/mysql_upgrade.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/mysql_zap.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/mysqld_multi.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/mysqld_safe.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/mysqlhotcopy.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/mysqltest.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/perror.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man1/replace.1.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man8/mysqld.8.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/man/man8/mysqlmanager.8.gz from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/charsets/ascii.xml from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/danish/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/dutch/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/english/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/errmsg.txt from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/estonian/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/fill_help_tables.sql from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/french/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/german/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/greek/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/hungarian/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/italian/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/japanese/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/korean/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/mysql.server from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/mysql_fix_privilege_tables.sql from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/mysql_system_tables.sql from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/mysql_system_tables_data.sql from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/norwegian/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/polish/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/portuguese/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/romanian/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/russian/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/serbian/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/slovak/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/spanish/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/swedish/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23
        file /usr/share/mysql/ukrainian/errmsg.sys from install of MySQL-server-community-5.1.22-0.rhel4 conflicts with file from package MySQL-server-5.1.17-0.glibc23

TOP

我重新安装了,提示是这个  我用   netstrat -nat  是看不到本机3306端口的

我现在就是不知道我这个是装上了还是没装上   我在本机的/usr/share/mysql   能看到这些文件

TOP

楼主试着卸载一下 看能不能卸载

详细的rpm卸载看这里http://bbs.bitscn.com/140527

  遇到问题多多思考,多多交流,才能提高啊

  楼主努力!

刚刚开业的小店 欢迎大家光临 进来坐坐
http://shop36076987.taobao.com/
.........................
技术成就梦想..  思想改变命运...
做一个有技术有思想的人....
我的群1798388........

TOP

已经解决,我最后用源码安装的

本帖最近评分记录
  • zhaojie78 盟币 +2 感谢楼主反馈信息 以后遇到问题多多讨论 2007-11-30 11:53

TOP

发新话题
版块跳转 
沪ICP备08026629号 / 管理员木木 / QQ58284700 / MSNjacro|at|bitscn.net / TEL13641763379 /