开发者社区 问答 正文

在服务器上安装mysql时报了下面的错误。。


[root@sss mysql]# rpm -ivh MySQL-server-5.6.16-1.el6.x86_64.rpm
error: Failed dependencies:
        libc.so.6(GLIBC_2.10)(64bit) is needed by MySQL-server-5.6.16-1.el6.x86_64
        libc.so.6(GLIBC_2.7)(64bit) is needed by MySQL-server-5.6.16-1.el6.x86_64
        libc.so.6(GLIBC_2.8)(64bit) is needed by MySQL-server-5.6.16-1.el6.x86_64
        libstdc  .so.6(GLIBCXX_3.4.11)(64bit) is needed by MySQL-server-5.6.16-1.el6.x86_64
        rpmlib(FileDigests) <= 4.6.0-1 is needed by MySQL-server-5.6.16-1.el6.x86_64
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by MySQL-server-5.6.16-1.el6.x86_64

展开
收起
阿发 2014-02-22 05:22:47 8471 分享 版权
2 条回答
写回答
取消 提交回答
  • 元芳,阿里云云栖论坛总版主,phpwind官方论坛管理员,社区论坛领域应用专家。长期活跃在社区论坛建站领域,对各类社区论坛程序颇有研究!乐于交友,热心助人,以帮助和服务站长朋友为宗旨,帮助数以千计的站长朋友顺利建站!
    rpm -ivh MySQL-server-5.6.16-1.el6.x86_64.rpm --nodeps --force
    这样试试看
    2014-02-22 13:32:46
    赞同 展开评论
  • 需要安装依赖的库
    http://www.server110.com/lnamp/
    2014-02-22 09:12:35
    赞同 展开评论