mariadb: Check and fix datadir owner issues during upgrade
authorMichal Hrusecky <michal.hrusecky@turris.com>
Thu, 13 Jan 2022 14:04:57 +0000 (15:04 +0100)
committerMichal Hrusecky <michal.hrusecky@turris.com>
Fri, 14 Jan 2022 14:32:48 +0000 (15:32 +0100)
commitb41525cef4171c7f3200afc41dca5e3837cbd2ec
treedd4395b333fae7a8e4ca45ff1e00c69bd3603613
parentf535d770901674d7d9f3d8cd9abe566d9db63ebe
mariadb: Check and fix datadir owner issues during upgrade

If you are migrating to MariaDB package, you might have old datadir
stored somewhere using different setup with different users. If you
trust us enough to enable autoupgrade, you probably trust us enough to
chown your datadir as well. This can prevent some potential issues.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
utils/mariadb/files/mysqld.init