How to install mysql-server on Debian?
With Debian 12, it seems that mysql-server
is not available in the "default" package distribution and thus, cannot be installed with sudo apt install mysql-server
or sudo apt-get...
(I know that mariadb-server
can be installed with these methods).
Is there a way to install mysql-server
on Debian?
1 answer
MySQL is not fully open source and maintained by a corporation which was at one time regarded as very evil (there are much worse ones now). Debian is trying to protect you from yourself by not letting you install it.
MariaDB is a project developed from forked MySQL code, and designed to be a drop in replacement for MySQL in such situations. Debian wants you to use that instead. It's not a bad idea.
You can also run a Docker image of MySQL, if you discover some obscure bug where something works in MySQL but not in MariaDB.
2 comment threads