my_print_defaults

 

NAME

my_print_defaults - display options from option files

SYNOPSIS

my_print_defaults [options] option_group ...

DESCRIPTION

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 mysqlcheck program reads the [mysqlcheck] 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 mysqlcheck 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 understands the following options:

--help, -?

Display a help message and exit.

--config-file=file_name, --defaults-file=file_name, -c file_name

Read only the given option file.

--debug=debug_options, -# debug_options

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

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

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

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

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

--no-defaults, -n

Return an empty string.

--verbose, -v

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

--version, -V

Display version information and exit.

Copyright 1997-2007 MySQL AB

This documentation is NOT distributed under a GPL license. Use of this documentation is subject to the following terms: You may create a printed copy of this documentation solely for your own personal use. Conversion to other formats is allowed as long as the actual content is not altered or edited in any way. You shall not publish or distribute this documentation in any form or on any media, except if you distribute the documentation in a manner similar to how MySQL disseminates it (that is, electronically for download on a Web site with the software) or on a CD-ROM or similar medium, provided however that the documentation is disseminated together with the software on the same medium. Any other use, such as any dissemination of printed copies or use of this documentation, in whole or in part, in another publication, requires the prior written consent from an authorized representative of MySQL AB. MySQL AB reserves any and all rights to this documentation not expressly granted above.

Please email <docs@mysql.com> for more information.

SEE ALSO

For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online at http://dev.mysql.com/doc/.

AUTHOR

MySQL AB (http://www.mysql.com/). This software comes with no warranty.