How to install ONLY MySQL on Debian GNU/Linux 9 (stretch) without MariaDB?(如何在没有 MariaDB 的 Debian GNU/Linux 9 (stretch) 上仅安装 MySQL?)
问题描述
当我安装 MySQL 时,它会在新的 Debian GNU/Linux 9 (stretch) 上安装 Maria 的软件包,有什么建议吗?
When I install the MySQL it installs Maria's packages on the new Debian GNU/Linux 9 (stretch), any suggestions?
apt-get install mysql-server
推荐答案
Debian Stretch (9.0) 不再包含 MySQL .当您尝试安装 mysql-server 时,有关后台发生的一些信息是 可在此处获得.
Debian Stretch (9.0) no longer includes MySQL . Some information on what's happening in the background when you try to install mysql-server is available here.
MariaDB 旨在成为 MySQL 的完全兼容替代品,但如果您真的想要 MySQL,您应该将 MySQL APT 存储库添加到您的系统 如此处所述.添加存储库后执行 apt update 然后继续安装 mysql-server 包.
MariaDB is designed to be a fully compatible drop in replacement for MySQL but if you really want MySQL you should add the MySQL APT repository to your system as described here. After adding the repository do an apt update and then proceed to install the mysql-server package.
这篇关于如何在没有 MariaDB 的 Debian GNU/Linux 9 (stretch) 上仅安装 MySQL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在没有 MariaDB 的 Debian GNU/Linux 9 (stretch) 上仅安装 MySQL?
基础教程推荐
- SQL Server 实例在登录协商期间返回无效或不受支持的协议版本 2021-01-01
- 如何使用 mysql.connector 禁用查询缓存 2022-01-01
- 是否可以执行按位分组功能? 2021-01-01
- 需要 MySQL 5.1 中的抽象触发器来更新审计日志 2021-01-01
- 将 SQL Server DateTime 列迁移到 DateTimeOffset 2021-01-01
- SSMS 中的权限问题:“对象 'extended_properties'、数据库 'mssqlsystem_resource'、... 错误 229)上的 SELECT 权限被拒绝" 2022-01-01
- SQL 效率:WHERE IN 子查询 vs. JOIN 然后 GROUP 2021-01-01
- SQL:使用来自具有相同列名的两个表中的数据... 2021-01-01
- 在 SQL 中连接多个表 2021-01-01
- 无法解决整理冲突 2021-01-01
