[debian-mysql] Bug#793977: Bug#793977: mariadb-server-core-10.0: please include mysql_upgrade for application started mariadb server
Martin Steigerwald
martin at lichtvoll.de
Fri Jan 8 09:51:49 UTC 2016
Am Freitag, 8. Januar 2016, 02:25:23 CET schrieb Robie Basak:
> On Thu, Jul 30, 2015 at 09:34:16AM +0300, Otto Kekäläinen wrote:
> > Solving this is _not_ straightforward (for me) because of two reasons:
> > 1) I personally never used just the core package and I don't fully
> > understand the motivation why it even exists. Is Akonadi the only use
> > case?
> > 2) The mysql-5.6 packaging is a bit messed up (double entries in
> > install file, server-core having the mysql_upgrade binary but the
> > postinst part and init file that could trigger it automatically are
> > only in the server package) so I it would not make sense to model
> > mariadb-10.0 packaging after it in this case.
>
> My understanding of the -core package (like you, this is from before my
> time) is that some users want the binaries, but none of the automatic
> configuration and maintainer scripts. So the -core package just makes
> the binaries available so they can then use MySQL as they want, receive
> security updates and so forth, but aren't tied to any of the assumptions
> that the maintainer and init scripts make.
>
> For this reason I believe it makes sense for mysql_upgrade and any other
> binaries be provided through the -core package, even if the only
> consumer that we can see is in the -server (not -core) package. Because
> then users who don't want the non-core package can also use it.
That was my intention as I wrote the bug report. To be able to use
mysql_upgrade with the MySQL database that is maintained through the mysqld
process Akonadi starts and stops by itself for each user session.
I am not sure which other use cases exists tough for skipping the use of the
maintainer scripts. One case is when you want to have mysqld be running as
ordinary user instead of as root, storing the data within the user home
directory or elsewhise and being able to backup and restore the database with
ordinary user rights this way. Whether someone else does this I don´t know.
Thanks,
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20160108/08e4261d/attachment.sig>
More information about the pkg-mysql-maint
mailing list