1MY_PRINT_DEFAULTS(1) MariaDB Database System MY_PRINT_DEFAULTS(1)
2
3
4
6 my_print_defaults - display options from option files
7
9 my_print_defaults [options] option_group ...
10
12 my_print_defaults displays the options that are present in option
13 groups of option files. The output indicates what options will be used
14 by programs that read the specified option groups. For example, the
15 mysqlcheck program reads the [mysqlcheck] and [client] option groups.
16 To see what options are present in those groups in the standard option
17 files, invoke my_print_defaults like this:
18
19 shell> my_print_defaults mysqlcheck client
20 --user=myusername
21 --password=secret
22 --host=localhost
23
24 The output consists of options, one per line, in the form that they
25 would be specified on the command line.
26
27 my_print_defaults supports the following options.
28
29 · --help, -?
30
31 Display a help message and exit.
32
33 · --config-file=file_name, --defaults-file=file_name, -c file_name
34
35 Read only the given option file. If no extension is given, default
36 extension(.ini or .cnf) will be used. --config-file is deprecated,
37 use --defaults-file instead. If --defaults-file is the first
38 option, then read this file only, do not read global or per-user
39 config files; should be the first option.
40
41 · --debug=debug_options, -# debug_options
42
43 Write a debugging log. A typical debug_options string is
44 ´d:t:o,file_name´. The default is
45 ´d:t:o,/tmp/my_print_defaults.trace´.
46
47 · --defaults-extra-file=file_name, --extra-file=file_name, -e
48 file_name
49
50 Read this option file after the global option file but (on Unix)
51 before the user option file. Should be the first option.
52 --extra-file is deprecated, use --defaults-extra-file.
53
54 · --defaults-group-suffix=suffix, -g suffix
55
56 In addition to the groups named on the command line, read groups
57 that have the given suffix.
58
59 · --mysqld
60
61 Read the same set of groups that the mysqld binary does.
62
63 · --no-defaults, -n
64
65 Return an empty string (useful for scripts).
66
67 · --verbose, -v
68
69 Verbose mode. Print more information about what the program does.
70
71 · --version, -V
72
73 Display version information and exit.
74
76 Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.,
77 2010-2015 MariaDB Foundation
78
79 This documentation is free software; you can redistribute it and/or
80 modify it only under the terms of the GNU General Public License as
81 published by the Free Software Foundation; version 2 of the License.
82
83 This documentation is distributed in the hope that it will be useful,
84 but WITHOUT ANY WARRANTY; without even the implied warranty of
85 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
86 General Public License for more details.
87
88 You should have received a copy of the GNU General Public License along
89 with the program; if not, write to the Free Software Foundation, Inc.,
90 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA or see
91 http://www.gnu.org/licenses/.
92
93
95 For more information, please refer to the MariaDB Knowledge Base,
96 available online at https://mariadb.com/kb/
97
99 MariaDB Foundation (http://www.mariadb.org/).
100
101
102
103MariaDB 10.3 9 May 2017 MY_PRINT_DEFAULTS(1)