如何在没有MariaDB的Debian GNU/Linux 9(拉伸)上仅安装MySQL? [英] How to install ONLY MySQL on Debian GNU/Linux 9 (stretch) without MariaDB?

查看:89
本文介绍了如何在没有MariaDB的Debian GNU/Linux 9(拉伸)上仅安装MySQL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我安装MySQL时,它将在新的Debian GNU/Linux 9(拉伸)上安装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存储库添加到系统中

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(拉伸)上仅安装MySQL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆