linux – 我想将mysql vertion 5.5.59更新为5.7.21
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了linux – 我想将mysql vertion 5.5.59更新为5.7.21,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1832字,纯文字阅读大概需要3分钟。
内容图文
![linux – 我想将mysql vertion 5.5.59更新为5.7.21](/upload/InfoBanner/zyjiaocheng/896/622e8e4a11ac45169af4c35518dc697e.jpg)
我正在尝试更新我的mysql版本,但它显示错误我正在使用Linux mint 17.3版本
用过的命令
sudo apt-get install mysql-server mysql-client mysql-common mysql-server-core-5.7 mysql-client-core-5.7
它显示了这一点
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-client-core-5.7 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mysql-cluster-community-client:i386 libmysqlclient-dev:i386
mysql-community-client:i386 mysql-cluster-community-client
libmysqlclient-dev mysql-community-client
Package mysql-server-core-5.7 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mysql-common:i386 mysql-cluster-community-server:i386
mysql-community-server:i386 mysql-common mysql-cluster-community-server
mysql-community-server
E: Package 'mysql-server-core-5.7' has no installation candidate
E: Package 'mysql-client-core-5.7' has no installation candidate
mysql -v
mysql Ver 14.14 Distrib 5.5.59, for debian-linux-gnu (x86_64) using readline 6.3
我怎样才能解决这个问题??
解决方法:
首先,永远不要尝试卸载或清除您的mysql包.您的数据库永远都会从您的系统中删除…
其次,您应该尝试使用apt-cache policy mysql *来检查系统上可用的版本.
第三,你应该对所有数据库进行备份.
如果是简单的更新,你应该尝试sudo apt-get upgrade mysql-client mysql-server mysql-common.
或者更具侵略性的sudo apt-get dist-upgrade mysql-client mysql-server mysql-common
如果没有,请使用apt-cache policy mysql *输出中可用的更新版本.
而且,从我所看到的,你的source.list似乎不包含任何包含mysql-server-core-5.7的repo.所以使用apt-cache策略mysql *.
内容总结
以上是互联网集市为您收集整理的linux – 我想将mysql vertion 5.5.59更新为5.7.21全部内容,希望文章能够帮你解决linux – 我想将mysql vertion 5.5.59更新为5.7.21所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。