免费注册 查看新帖 |

Chinaunix

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

[系统安装] 为什么我用yum查询mysql有新版本,可是却无法更新呢? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-01-05 20:19 |只看该作者 |倒序浏览
我用yum查询mysql的情况,如下:
  1. # yum info MySQL-server.x86_64
  2. Loaded plugins: fastestmirror
  3. Loading mirror speeds from cached hostfile
  4. * base: mirror.esocc.com
  5. * extras: mirror.esocc.com
  6. * updates: mirror.esocc.com
  7. Installed Packages
  8. Name        : MySQL-server
  9. Arch        : x86_64
  10. Version     : 5.6.10
  11. Release     : 1.el6
  12. Size        : 232 M
  13. Repo        : installed
  14. Summary     : MySQL: a very fast and reliable SQL database server
  15. URL         : http://www.mysql.com/
  16. License     : Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights
  17.             : reserved. Under GPL license as shown in the Description field.
  18. Description : The MySQL(TM) software delivers a very fast, multi-threaded,
  19.             : multi-user, and robust SQL (Structured Query Language) database
  20.             : server. MySQL Server is intended for mission-critical, heavy-load
  21.             : production systems as well as for embedding into mass-deployed
  22.             : software. MySQL is a trademark of Oracle and/or its affiliates
  23.             :
  24.             : The MySQL software has Dual Licensing, which means you can use the
  25.             : MySQL software free of charge under the GNU General Public License
  26.             : (http://www.gnu.org/licenses/). You can also purchase commercial
  27.             : MySQL licenses from Oracle and/or its affiliates if you do not
  28.             : wish to be bound by the terms of the GPL. See the chapter
  29.             : "Licensing and Support" in the manual for further info.
  30.             :
  31.             : The MySQL web site (http://www.mysql.com/) provides the latest
  32.             : news and information about the MySQL software.  Also please see
  33.             : the documentation and the manual for more information.
  34.             :
  35.             : This package includes the MySQL server binary as well as related
  36.             : utilities to run and administer a MySQL server.
  37.             :
  38.             : If you want to access and work with the database, you have to
  39.             : install package "MySQL-client" as well!

  40. Available Packages
  41. Name        : mysql-server
  42. Arch        : x86_64
  43. Version     : 5.1.71
  44. Release     : 1.el6
  45. Size        : 8.6 M
  46. Repo        : base
  47. Summary     : The MySQL server and related files
  48. URL         : http://www.mysql.com
  49. License     : GPLv2 with exceptions
  50. Description : MySQL is a multi-user, multi-threaded SQL database server. MySQL
  51.             : is a client/server implementation consisting of a server daemon
  52.             : (mysqld) and many different client programs and libraries. This
  53.             : package contains the MySQL server and some accompanying files and
  54.             : directories.
复制代码
然后通过yum升级所有软件,却提示我没有什么可更新:
  1. # yum update
  2. Loaded plugins: fastestmirror
  3. Loading mirror speeds from cached hostfile
  4. * base: mirror.esocc.com
  5. * extras: mirror.esocc.com
  6. * updates: mirror.esocc.com
  7. Setting up Update Process
  8. No Packages marked for Update
复制代码
不过我能确保我有安装mysql,通过yum安装的,这是我当前的mysql版本:
  1. ]# /usr/bin/mysql -V
  2. /usr/bin/mysql  Ver 14.14 Distrib 5.6.10, for Linux (x86_64) using  EditLine wrapper
复制代码
请问这是怎么回事呢?如何才能正确更新mysql呢?

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
2 [报告]
发表于 2014-01-05 20:30 |只看该作者
你安装的是5.6版本的,系统那个是5.1版本的,当然不会更新了

论坛徽章:
1
处女座
日期:2014-01-21 13:20:51
3 [报告]
发表于 2014-01-05 20:40 |只看该作者
reboot

论坛徽章:
0
4 [报告]
发表于 2014-01-05 20:59 |只看该作者
chenyx 发表于 2014-01-05 20:30
你安装的是5.6版本的,系统那个是5.1版本的,当然不会更新了


哦,我看错了,我看后面两个数字去了,太粗心了,谢谢

不过yum更新还真的比较慢呢

论坛徽章:
154
2022北京冬奥会纪念版徽章
日期:2015-08-07 17:10:5720周年集字徽章-年
日期:2022-10-26 16:44:2015-16赛季CBA联赛之深圳
日期:2022-11-02 14:02:4515-16赛季CBA联赛之八一
日期:2022-11-28 12:07:4820周年集字徽章-20	
日期:2023-07-19 08:49:4515-16赛季CBA联赛之八一
日期:2023-11-04 19:23:5115-16赛季CBA联赛之广夏
日期:2023-12-13 18:09:34
5 [报告]
发表于 2014-01-06 13:40 |只看该作者

论坛徽章:
0
6 [报告]
发表于 2014-01-07 17:53 |只看该作者
呵呵。yum确实慢。 不如自己找资源下好了安装快。 但是就是不便于管理而已。

论坛徽章:
0
7 [报告]
发表于 2014-01-08 14:34 |只看该作者
正解回复 2# chenyx


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP