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区分大小写的原因? 2021-01-01
- 二进制文件到 SQL 数据库 Apache Camel 2021-01-01
- 如何根据该 XML 中的值更新 SQL 中的 XML 2021-01-01
- 表 './mysql/proc' 被标记为崩溃,应该修复 2022-01-01
- 什么是 orradiag_<user>文件夹? 2022-01-01
- mysql选择动态行值作为列名,另一列作为值 2021-01-01
- 如何在 SQL 中将 Float 转换为 Varchar 2021-01-01
- MySQL 中的类型:BigInt(20) 与 Int(20) 2021-01-01
- 在 MySQL 中:如何将表名作为存储过程和/或函数参数传递? 2021-01-01
- 在多列上分布任意行 2021-01-01