栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

ubantu 20 安装mysql5.7.35

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

ubantu 20 安装mysql5.7.35

mysql历史版本
https://downloads.mysql.com/archives/community/

wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-server_5.7.31-1ubuntu18.04_amd64.deb-bundle.tar
tar -xvf mysql-server_5.7.31-1ubuntu18.04_amd64.deb-bundle.tar
rm -f mysql-testsuite_5.7.31-1ubuntu18.04_amd64.deb
rm -f mysql-community-test_5.7.30-1ubuntu18.04_amd64.deb
dpkg -i mysql-*.deb

删除带test的内容
如果报错,可以按照提示进行处理

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mysql-community-client : Depends: libaio1 (>= 0.3.93) but it is not going to be installed
 mysql-community-server : Depends: perl but it is not going to be installed
                          Depends: libaio1 (>= 0.3.93) but it is not going to be installed
                          Depends: libmecab2 but it is not going to be installed
 mysql-community-test : Depends: mysql-community-server (= 5.7.31-1ubuntu18.04) but 5.7.35-1ubuntu18.04 is to be installed
                        Depends: mysql-community-client (= 5.7.31-1ubuntu18.04) but 5.7.35-1ubuntu18.04 is to be installed
                        Depends: python
                        Depends: libjson-perl but it is not going to be installed
                        Depends: libaio1 (>= 0.3.93) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

直接执行apt --fix-broken install即可

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/360409.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号