mirror of
https://github.com/MariaDB/server.git
synced 2025-08-17 21:39:33 +00:00
Deb: use deb-sys-maint user credentials to configure MariaDB plugins
On systems with unix socket authentication root could run these without any special maintenance accounts.
This commit is contained in:
2
debian/mariadb-plugin-mroonga.postinst
vendored
2
debian/mariadb-plugin-mroonga.postinst
vendored
@ -5,7 +5,7 @@ set -e
|
||||
# Install Mroonga
|
||||
# No user or password parameter is required with new MariaDB that
|
||||
# has unix socket authentication support by default.
|
||||
mysql < /usr/share/mysql/mroonga/install.sql || true
|
||||
mysql --defaults-file=/etc/mysql/debian.cnf < /usr/share/mysql/mroonga/install.sql || true
|
||||
# Always exit with success instead of leaving dpkg in a broken state
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user