中国网管论坛's Archiver

richie_freedom 发表于 2007-11-21 11:08

安装mysql问题

在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
本人菜鸟,不明白,只知道没有安装上,求告知。

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

n3tl04d 发表于 2007-11-21 11:46

你的安装完全正常!你的进度条显示你已经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运行级别上都能起动.

richie_freedom 发表于 2007-11-21 12:57

#rpm -qa | grep mysql
无返回

请再指教指教

richie_freedom 发表于 2007-11-21 13:06

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

zhaojie78 发表于 2007-11-21 15:18

2楼解析很正确

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

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

Mysql默认的端口是3306。

楼主现试试把

richie_freedom 发表于 2007-11-21 15:22

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

richie_freedom 发表于 2007-11-21 15:24

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

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

zhaojie78 发表于 2007-11-21 16:22

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

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

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

  楼主努力!

richie_freedom 发表于 2007-11-30 11:38

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

页: [1]

Powered by Discuz! Archiver 6.1.0  © 1999-2008 bbs.bitsCN.com