本文介绍了如何在没有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存储库添加到系统中如此处所述.添加存储库后,请执行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(拉伸)上仅安装MySQL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 12:12