红联Linux门户
Linux帮助

请问红旗Linux下,安装Mysql时,应该下载mysql 的哪一种rpm包?谢谢

发布时间:2008-10-09 14:55:29来源:红联作者:laiahu
请高手指点一下,谢谢
下载Red Hat Enterprise Linux 4 RPM (x86) 的Mysql包进行安装,行吗?
文章评论

共有 2 条评论

  1. laiahu 于 2008-10-10 09:03:07发表:

    我也是用red hat linux的mysql rpm包安装的,但安装时出现以下错误: 请问怎么解决,谢谢!

    [root@localhost java_tools]# rpm -ivh MySQL-server-community-5.1.28-0.rhel3.i386.rpm
    warning: MySQL-server-community-5.1.28-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
    Preparing... ########################################### [100%]
    1:MySQL-server-community ########################################### [100%]
    ERROR: 1062 Duplicate entry 'localhost-' for key 'PRIMARY'
    081009 13:43:03 [ERROR] Aborting
    081009 13:43:03 [Note] /usr/sbin/mysqld: Shutdown complete
    Installation of system tables failed! Examine the logs in
    /var/lib/mysql for more information.
    You can try to start the mysqld daemon with:
    shell> /usr/sbin/mysqld --skip-grant &
    and use the command line tool /usr/bin/mysql
    to connect to the mysql database and look at the grant tables:
    shell> /usr/bin/mysql -u root mysql
    mysql> show tables
    Try 'mysqld --help' if you have problems with paths. Using --log
    gives you a log in /var/lib/mysql that may be helpful.The latest information about MySQL is available on the web at
    http://www.mysql.com/. Please consult the MySQL manual section
    'Problems running mysql_install_db', and the manual section that
    describes problems on your OS. Another information source are the
    MySQL email archives available at http://lists.mysql.com/.
    Please check all of the above before mailing us! And remember, if
    you do mail us, you MUST use the /usr/bin/mysqlbug script!

  2. mengzhaizhuren 于 2008-10-09 20:54:46发表:

    可以