首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >是否可以在Debian 10/buster上安装MySQL5.7?

是否可以在Debian 10/buster上安装MySQL5.7?
EN

Server Fault用户
提问于 2021-06-15 10:32:24
回答 1查看 2K关注 0票数 1

我试过两次,但总是失败。根据这个小家伙的说法,debian停止了mysql的打包。我试图通过安装MariaDB来解决这个问题,但是我很难找到一个有用的教程。然后我尝试使用本教程,但是在安装客户机时出现了以下错误:

代码语言:javascript
复制
miked@debian:~$ sudo apt install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mysql-server : Depends: mysql-community-server (= 5.7.34-1debian10) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

那么,是否可以在Debian10 buster上安装mysql5.7,还是应该安装debian9服务器?

EN

回答 1

Server Fault用户

发布于 2021-06-15 14:58:17

您可以下载并安装Debian系统上的包,它将向系统添加PPA文件。在安装MySQL apt配置包期间,它将提示选择要安装的MySQL版本。选择要在系统上安装的MySQL 5.7选项。

有关安装它的步骤,请参阅下面的链接。

https://tecadmin.net/install-mysql-on-debian-10-buster/#:~:text=You%20can%20download%20and%20install,below%20command%20to%20enable%20PPA.&text=During%20the%20installation%20of%20MySQL,到%20在%20您的%20系统上安装%20

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/1066773

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档