Commit 36824d2b authored by Julius Goryavsky's avatar Julius Goryavsky

MDEV-20728: /usr/sbin/mysqld: unknown variable 'defaults-group-suffix=mysqld1

When the mysqld_multi script passes the --defaults-group-suffix
option to mysqld, it must remove the initial substring with the
group name ("mysqld") from option value, because otherwise substring
"mysqld" will be added to the group name and then the group name
will contain the word "mysqld" twice, which is wrong, because
mysqld itself adds the suffix received to the group name.
parent b05be3ef
......@@ -372,7 +372,7 @@ sub start_mysqlds()
if (!$suffix_found)
{
$com.= " --defaults-group-suffix=";
$com.= $groups[$i];
$com.= substr($groups[$i],6);
}
$com.= $tmp;
......
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