• Julius Goryavsky's avatar
    MDEV-21039: Server fails to start with unknown mysqld_safe options · 57960211
    Julius Goryavsky authored
    Adding any unknown option to the "[mysqld_safe]" section makes
    mysqld impossible to start with mysqld_multi. For example, after
    adding the unknown option "numa_interleave" to the "[mysqld_safe]"
    section, mysqld_multi exits with the following diagnostics:
    
    [ERROR] /usr/local/mysql/bin/mysqld: unknown option '--numa_interleave'
    
    To get rid of this behavior, this patch by default adds the "--loose-"
    prefix to all unknown (for mysqld_safe) options. This behavior can be
    enabled explicitly with the --ignore-unknown option and disabled with
    the --no-ignore-unknown option.
    57960211
mysqld_safe.sh 30.8 KB