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?
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01
- 更改自动增量起始编号? 2021-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01
- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 导入具有可变标题的 Excel 文件 2021-01-01
- SQL 临时表问题 2022-01-01
