1
0
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:
Sergei Golubchik
2019-07-08 12:32:17 +02:00
parent bccd9d0e3a
commit c9f0f88838

View File

@@ -22,7 +22,7 @@ mysql_upgradedir=/var/lib/mysql-upgrade
stop_server() {
# Return immediately if there are no mysql processes running
# 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
systemctl stop mysql