Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.4.7
-
None
-
centos 7.7
Description
I have multiple maria db instance running on a centos 7.7 server (running until last update). After an update, the mysqld_multi did not start anymore (due to a typo that is apparently fixed in code). I updated the code and fixed the typo but one more modification done in the mysqld_multi script prevent the instance to start : the defaults-group-suffix variable.
Since the update, this variable is added to the start command.
/usr/bin/mysqld_safe --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306 --datadir=/var/lib/mysql --server-id=1 --bind-address=0.0.0.0 --max_allowed_packet=64M --log-error=/var/log/mysqld1.log --symbolic-links=0 --defaults-group-suffix=mysqld1 |
In the error log, I have:
[ERROR] /usr/sbin/mysqld: unknown variable 'defaults-group-suffix=mysqld1' |
The only way to have my instances up, is to comment out the following code:
if (!$suffix_found) |
{
|
$com.= " --defaults-group-suffix="; |
$com.= $groups[$i];
|
}
|
This is not a real good solution
Thx for helping.
Attachments
Issue Links
- causes
-
MDEV-21039 Server fails to start with mysqld_multi with mysqld_safe options
- Closed
- is caused by
-
MDEV-18863 Galera SST scripts can't read mysqld_multi's [mysqldN] option groups
- Closed
- relates to
-
MDEV-20614 Syntax error, and option put in wrong place, in mysqld_multi perl script
- Closed