mirror of
https://github.com/MariaDB/server.git
synced 2025-11-27 05:41:41 +03:00
MDEV-19822 MariaDB 10.4 install fails on Ubuntu 18.04 if Prometheus mysqld_exporter is running
This commit is contained in:
2
debian/mariadb-server-10.4.preinst
vendored
2
debian/mariadb-server-10.4.preinst
vendored
@@ -22,7 +22,7 @@ mysql_upgradedir=/var/lib/mysql-upgrade
|
|||||||
stop_server() {
|
stop_server() {
|
||||||
# Return immediately if there are no mysql processes running
|
# Return immediately if there are no mysql processes running
|
||||||
# as there is no point in trying to shutdown in that case.
|
# as there is no point in trying to shutdown in that case.
|
||||||
if ! pgrep mysqld > /dev/null; then return; fi
|
if ! pgrep -x mysqld > /dev/null; then return; fi
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
systemctl stop mysql
|
systemctl stop mysql
|
||||||
|
|||||||
Reference in New Issue
Block a user