MySQL 8.0.29
Source Code Documentation
Passing Options from to mysqld or mysqltest supports several options that enable you to pass options to other programs.

Each of these options takes a value consisting of one or more comma-separated options:

  • The --mysqld option tells to start the mysqld server with the named option added. More than one such extra option may be provided. The following command causes --big-tables and --key_buffer_size=16384 to be passed to mysqld:

    shell> ./

    Note how --mysqld needs to be repeated for each server option to add. It does not work to add several server options with one --mysqld even if enclosed in quotation marks, as that will be interpreted as a single server option (including spaces).

  • The --combination option is similar to --mysqld, but behaves differently. executes multiple test runs, using the options for each instance of --combination in successive runs. The following command passes --big-tables to mysqld for the first test run, --innodb for the second run and --innodb-file-per-table for the last run:

    shell> ./

    If --combination is given only once, it behaves similar to --mysqld option.

    For test runs specific to a given test suite, an alternative to the use of the --combination option is to create a combinations file in the suite directory. The file should contain a section of options for each test run. For an example, see Controlling the Binary Log Format Used for Tests.

    combinations file can support bootstrap variables too. The bootstrap variable has to be passed as a value to the initialize keyword.

    For a test specific combinations, an alternative to the use of the --combination option is to create a test_name.combinations file in the test directory.

  • The --mysqltest option is used to pass extra options to mysqltest.

    shell> ./ --mysqltest=options

    For an example, see — Run MySQL Test Suite.