Skip to content

Commit

Permalink
MDEV-20728: /usr/sbin/mysqld: unknown variable 'defaults-group-suffix…
Browse files Browse the repository at this point in the history
…=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.
  • Loading branch information
sysprg committed Oct 11, 2019
1 parent 4cdb72f commit 0ecc85c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mysqld_multi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ sub start_mysqlds()
if (!$suffix_found)
{
$com.= " --defaults-group-suffix=";
$com.= $groups[$i];
$com.= substr($groups[$i],6);
}

$com.= $tmp;
Expand Down

0 comments on commit 0ecc85c

Please sign in to comment.