summaryrefslogtreecommitdiff
path: root/debian/mariadb-server-10.4.preinst
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-02-20 16:39:48 +0100
committerSergei Golubchik <serg@mariadb.org>2019-02-21 15:04:03 +0100
commit7f6d88944c8afdcba12677840db8bc4e81cbe0db (patch)
tree626fae9319a467eed4ac73d90eff53c0d3d7d5cf /debian/mariadb-server-10.4.preinst
parent132216faf7df6c73d93fed0ee4c26ed2421c96d6 (diff)
downloadmariadb-git-7f6d88944c8afdcba12677840db8bc4e81cbe0db.tar.gz
MDEV-12484 Enable unix socket authentication by default
Debian part. Do not ask to set a root password, do not create debian-sys-maint user (but preserve an existing one on upgrades - user scripts might be relying on it). Just create an empty /etc/mysql/debian.cnf for --defaults-file not to fail
Diffstat (limited to 'debian/mariadb-server-10.4.preinst')
-rw-r--r--debian/mariadb-server-10.4.preinst1
1 files changed, 0 insertions, 1 deletions
diff --git a/debian/mariadb-server-10.4.preinst b/debian/mariadb-server-10.4.preinst
index 7b0540506ae..08e424bc712 100644
--- a/debian/mariadb-server-10.4.preinst
+++ b/debian/mariadb-server-10.4.preinst
@@ -13,7 +13,6 @@ if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
-MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
mysql_datadir=/var/lib/mysql
mysql_upgradedir=/var/lib/mysql-upgrade