How to install ONLY MySQL on Debian GNU/Linux 9 (stretch) without MariaDB?

*爱你&永不变心* 提交于 2019-12-10 11:43:50

问题


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

回答1:


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 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.



来源:https://stackoverflow.com/questions/46417306/how-to-install-only-mysql-on-debian-gnu-linux-9-stretch-without-mariadb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!