[debian-mysql] Common mechanism for detecting which MySQL variant and version is installed

Ondřej Surý ondrej at sury.org
Fri May 12 10:36:40 UTC 2017

Hi Lars,

as all packages depend on mysql-common, right? So we can include such
script into
the package and each *-server-core would then provide same magic file.

Also thinking in a long term - in theory we might be able to make
*-*-core-* packages coinstallable with each other, so perhaps we need to
think about this before crafting a solution. What do you think?

Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro
pečení chleba všeho druhu

On Thu, May 4, 2017, at 13:21, Lars Tangvald wrote:
> Hi all,
> As MariaDB and MySQL diverge, we're more and more running into issues 
> with third-party packages only working with one of them (generally 
> MariaDB in Debian and MySQL in Ubuntu). Generally this boils down to 
> fairly small differences in behavior with server init and startup, so if 
> these packages had a simple way of detecting which variant is installed 
> provided by the packages themselves, having support for both would not 
> be hard.
> One idea is to just include a tiny util script that outputs the basic 
> information, e.g. "mysql 5.7.18" or "mariadb 10.2". You can get the same 
> info from parsing package version or similar, but it would be less 
> robust as you'd have to .
> Any other ideas or thoughts about this? We'd need it in both MySQL and 
> MariaDB (and other, external packages that can take their place) for it 
> to be useful.
> --
> Lars
> _______________________________________________
> pkg-mysql-maint mailing list
> pkg-mysql-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint

More information about the pkg-mysql-maint mailing list