my_print_defaults(1)

my_print_defaults1

Display options from option files

Usage

my_print_defaults [options] option_group ...

Overview

my_print_defaults displays the options that are present in option groups of option files. The output indicates what options will be used by programs that read the specified option groups. For example, the mariadb-check program reads the [mariadb-check] and [client] option groups. To see what options are present in those groups in the standard option files, invoke my_print_defaults like this:

shell> my_print_defaults mariadb-check client
--user=myusername
--password=secret
--host=localhost

The output consists of options, one per line, in the form that they would be specified on the command line.

my_print_defaults supports the following options.

• --help, -?

Display a help message and exit.

• --defaults-file=file_name, -c file_name

Read only the given option file. If no extension is given, default extension(.ini or .cnf) will be used. If --defaults-file is the first option, then read this file only, do not read global or per-user config files; should be the first option.

• --debug=debug_options, -# debug_options

Write a debugging log. A typical debug_options string is 'd:t:o,file_name'. The default is 'd:t:o,/tmp/my_print_defaults.trace'.

• --defaults-extra-file=file_name, -e file_name

Read this option file after the global option file but (on Unix) before the user option file. Should be the first option.

• --defaults-group-suffix=suffix, -g suffix

In addition to the groups named on the command line, read groups that have the given suffix.

• --mariadbd

Read the same set of groups that the mariadbd binary does.

•

--mariadbd

Read the same set of groups that the mariadbd binary does.

• --no-defaults, -n

Return an empty string (useful for scripts).

• --verbose, -v

Verbose mode. Print more information about what the program does.

• --version, -V

Display version information and exit.

Releases

13 releases since Debian 3.0 (Woody); the text changed 11 times.

  1. 3.0
  2. 3.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7
  7. 8
  8. 9
  9. 10
  10. 11
  11. 12
  12. 13–Arch

Author

MariaDB Foundation (http://www.mariadb.org/).

From mariadb 13.0.2-2 in Arch Linux 2026-11-01. Also shipped by mariadb-lts, percona-server. Parsed by carta from the page's man source.