Commit c9f0f888 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-19822 MariaDB 10.4 install fails on Ubuntu 18.04 if Prometheus mysqld_exporter is running

parent bccd9d0e
......@@ -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
......
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