From a79a09a60db5693b0e0db1f71266c48010dc0d91 Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev Date: Sun, 29 Nov 2020 16:39:02 +0300 Subject: [PATCH] Satisfy requirement to restart database process on renaming admin user --- mysql/mysql-lib.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mysql/mysql-lib.pl b/mysql/mysql-lib.pl index bc51ae0b0..82a836780 100755 --- a/mysql/mysql-lib.pl +++ b/mysql/mysql-lib.pl @@ -1760,6 +1760,8 @@ if (defined($c->{'pass'})) { &lock_file($module_config_file); &save_module_config(); &unlock_file($module_config_file); +&stop_mysql(); +&start_mysql(); } 1;