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?
基础教程推荐
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- 带更新的 sqlite CTE 2022-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
