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
-
Activity
Field | Original Value | New Value |
---|---|---|
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. {code:java} /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* {code} In the error log, I have: {code:java} [ERROR] /usr/sbin/mysqld: unknown variable 'defaults-group-suffix=mysqld1' {code} The only way to have my instances up, is to comment out the following code: {code:java} if (!$suffix_found) { $com.= " --defaults-group-suffix="; $com.= $groups[$i]; } {code} This is not a real good solution :( Thx for helping. |
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. {code:java} /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 {code} In the error log, I have: {code:java} [ERROR] /usr/sbin/mysqld: unknown variable 'defaults-group-suffix=mysqld1' {code} The only way to have my instances up, is to comment out the following code: {code:java} if (!$suffix_found) { $com.= " --defaults-group-suffix="; $com.= $groups[$i]; } {code} This is not a real good solution :( Thx for helping. |
Component/s | Scripts & Clients [ 11002 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Assignee | Julius Goryavsky [ sysprg ] |
Link |
This issue is caused by |
Link |
This issue relates to |
Status | Open [ 1 ] | In Progress [ 3 ] |
Attachment | mysqld_multi.sh [ 49226 ] | |
Attachment | mysqld_safe.sh [ 49227 ] |
Fix Version/s | 10.1.45 [ 23913 ] | |
Fix Version/s | 10.2.29 [ 23911 ] | |
Fix Version/s | 10.3.20 [ 23909 ] | |
Fix Version/s | 10.4.10 [ 23907 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Fix Version/s | 10.2.28 [ 23910 ] | |
Fix Version/s | 10.3.19 [ 23908 ] | |
Fix Version/s | 10.4.9 [ 23906 ] | |
Fix Version/s | 10.4.10 [ 23907 ] | |
Fix Version/s | 10.3.20 [ 23909 ] | |
Fix Version/s | 10.2.29 [ 23911 ] | |
Fix Version/s | 10.1.45 [ 23913 ] |
Link |
This issue causes |
Workflow | MariaDB v3 [ 100137 ] | MariaDB v4 [ 156814 ] |
Any news? This is quite blocking as issue.
Thx!