Commit 7316b141 authored by Otto Kekäläinen's avatar Otto Kekäläinen

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.
parent 02a6f61a
......@@ -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
......
......@@ -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/uninstall.sql || true
mysql --defaults-file=/etc/mysql/debian.cnf < /usr/share/mysql/mroonga/uninstall.sql || true
# Always exit with success instead of leaving dpkg in a broken state
......
......@@ -5,7 +5,7 @@ set -e
# Install Spider
# No user or password parameter is required with new MariaDB that
# has unix socket authentication support by default.
mysql < /usr/share/mysql/install_spider.sql || true
mysql --defaults-file=/etc/mysql/debian.cnf < /usr/share/mysql/install_spider.sql || true
# Always exit with success instead of leaving dpkg in a broken state
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment