[debian-mysql] Bug#797210: mariadb-10.0: mariadb-server does not ship a debconf set for creating a adminitrative user (like mysql-server do)

Otto Kekäläinen otto at seravo.fi
Tue Jan 26 12:03:36 UTC 2016


2016-01-26 13:53 GMT+02:00 Carsten Schoenert <c.schoenert at t-online.de>:
> Don't care about packages that need to set up databases, just provide
> with mariadb-server all possible authentication methods and guide the
> user while installing your package.
> And maybe provide a dbconfig way to add later new user/password/host
> combinations to the server with dpkg-reconfigure $foo.

Any script can now basically just run (as root on new installs where
unix_socket auth is on) something like
$ mysql -u root -e "CREATE user.."
and equivalent GRANT with database names, hostnames etc. They all
depend on the scenario. Therefor I am not sure if it makes sense to
add some dpkg-hooks for that.

If there was an old scenario that stopped working, maybe for backwards
compatiblity if would be justified to support at least that. But I did
not yet find the instructions on how what to run and how to
"reproduce" a failing situation that we could start tinkering with.
Will I see the failure if I run 'apt-get install zarafa', is that
where you stumbled across this issue in the first place?



More information about the pkg-mysql-maint mailing list