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 · --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. If --defaults-file is the
37 first option, then read this file only, do not read global or
38 per-user config files; should be the first option.
39
40 · --debug=debug_options, -# debug_options
41
42 Write a debugging log. A typical debug_options string is
43 ´d:t:o,file_name´. The default is
44 ´d:t:o,/tmp/my_print_defaults.trace´.
45
46 · --defaults-extra-file=file_name, -e file_name
47
48 Read this option file after the global option file but (on Unix)
49 before the user option file. Should be the first option.
50
51 · --defaults-group-suffix=suffix, -g suffix
52
53 In addition to the groups named on the command line, read groups
54 that have the given suffix.
55
56 · --mysqld
57
58 Read the same set of groups that the mysqld binary does.
59
60 · --no-defaults, -n
61
62 Return an empty string (useful for scripts).
63
64 · --verbose, -v
65
66 Verbose mode. Print more information about what the program does.
67
68 · --version, -V
69
70 Display version information and exit.
71
73 Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.,
74 2010-2015 MariaDB Foundation
75
76 This documentation is free software; you can redistribute it and/or
77 modify it only under the terms of the GNU General Public License as
78 published by the Free Software Foundation; version 2 of the License.
79
80 This documentation is distributed in the hope that it will be useful,
81 but WITHOUT ANY WARRANTY; without even the implied warranty of
82 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
83 General Public License for more details.
84
85 You should have received a copy of the GNU General Public License along
86 with the program; if not, write to the Free Software Foundation, Inc.,
87 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA or see
88 http://www.gnu.org/licenses/.
89
90
92 For more information, please refer to the MariaDB Knowledge Base,
93 available online at https://mariadb.com/kb/
94
96 MariaDB Foundation (http://www.mariadb.org/).
97
98
99
100MariaDB 10.4 28 March 2019 MY_PRINT_DEFAULTS(1)