pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: default mysql -> mariadb



On Wed, May 26, 2021 at 01:54:02PM -0500, J. Lewis Muir wrote:
> What does changing the default implementation mean?

It means changing MYSQL_VERSION_DEFAULT, which is a user build
setting which controls which version of MySQL packages like
ocaml-mysql and postfix-mysql link against.

> If I want a MySQL client or server, I would install the
> databases/mysql-client or databases/mysql-server package,
> respectively.  (I understand that those packages don't currently
> exist, but I'm just saying what I would naturally do.)  I would not
> expect that doing that would actually install a MariaDB client or
> server.  If I want a MariaDB > client or server, I would install the
> databases/mariadb-client or databases/mariadb-server package,
> respectively.  (I understand that
> those packages don't currently exist, but I'm just saying what I would
> naturally do.)

Actually, from a binary package perspective, everything you've mentioned
already works as you describe, and that won't change.

The proposed change would only effect packages which themselves rely on
a MySQL client library.

> It's true that MariaDB started out with the intention of
> being a drop-in replacement for MySQL, but they have many implementation
> differences now, and even if they didn't, they're still different
> projects, so that would feel confusing to me to get MariaDB if I asked
> for MySQL.

That's already the case on most BSDs and Linux distributions.


Home | Main Index | Thread Index | Old Index