[Tutorials] deepin20.1 安装mysql指定版本
Tofloor
poster avatar
pineapple_cpp
deepin
2021-02-18 18:01
Author

下载deb包

https://downloads.mysql.com/archives/community/

这里以mysql5.7.32为例

点击下载,然后解压

 

安装

安装要有顺序,common、lib、client、server,中间可能会缺少依赖,用apt安装一下或者去 https://pkgs.org/ 找一下相关的deb包。具体是啥我忘了

sudo dpkg -i mysql-common_5.7.32-1debian10_amd64.deb
sudo dpkg -i libmysqlclient20_5.7.32-1debian10_amd64.deb
sudo dpkg -i mysql-community-client_5.7.32-1debian10_amd64.deb
sudo dpkg -i mysql-client_5.7.32-1debian10_amd64.deb
sudo dpkg -i mysql-community-server_5.7.32-1debian10_amd64.deb
Reply Favorite View the author
All Replies
Feng Yu
deepin
2021-02-18 18:23
#1

添加mysql官方仓库不就行了?想装什么版本都有,还能自己解决依赖,而且还有国内镜像站加速可用,何乐而不为?

Reply View the author
pineapple_cpp
deepin
2021-02-18 18:38
#2
Feng Yu

添加mysql官方仓库不就行了?想装什么版本都有,还能自己解决依赖,而且还有国内镜像站加速可用,何乐而不为?

多谢大佬,我是新手。之前看得很多教程都安装不上,然后自己摸索出这种方式,所以总结一下,没想到还有更简单的。

Reply View the author
deepin-mq
deepin
2021-02-18 18:41
#3

感谢分享

Reply View the author
kirin2020
deepin
2021-02-18 23:28
#4

也可以参考这个帖子的教程,很详细了。

https://ywnz.com/linuxysjk/6938.html

Reply View the author
pineapple_cpp
deepin
2021-02-19 05:38
#5
kirin2020

也可以参考这个帖子的教程,很详细了。

https://ywnz.com/linuxysjk/6938.html

ok

Reply View the author