The following table includes options that are specific to the MySQL Cluster management client program
73
73
\fBndb_mgm\fR\&. Additional descriptions follow the table\&. For options common to all MySQL Cluster programs, see
74
Section\ \&17.4.2, \(lqOptions Common to MySQL Cluster Programs\(rq\&.
74
Section\ \&16.4.2, \(lqOptions Common to MySQL Cluster Programs\(rq\&.
75
.sp
76
.RS 4
77
.ie n \{\
78
\h'-04'\(bu\h'+03'\c
79
.\}
80
.el \{\
81
.sp -1
82
.IP \(bu 2.3
83
.\}
84
.\" --execute option (ndb_mgm)
85
.\" -e option (ndb_mgm)
86
\fB\-\-execute=\fR\fBcommand\fR,
87
\fB\-e \fR\fBcommand\fR
88
.TS
89
allbox tab(:);
90
l l s s
91
l l s s.
92
T{
93
\fBCommand\-Line Format\fR
94
T}:T{
95
\-\-execute=name
96
T}
97
T{
98
T}:T{
99
\-e
100
T}
101
.TE
102
.sp 1
103
This option can be used to send a command to the MySQL Cluster management client from the system shell\&. For example, either of the following is equivalent to executing
104
SHOW
105
in the management client:
106
.sp
107
.if n \{\
108
.RS 4
109
.\}
110
.nf
111
shell> \fBndb_mgm \-e "SHOW"\fR
112
shell> \fBndb_mgm \-\-execute="SHOW"\fR
113
.fi
114
.if n \{\
115
.RE
116
.\}
117
.sp
118
This is analogous to how the
119
\fB\-\-execute\fR
120
or
121
\fB\-e\fR
122
option works with the
123
\fBmysql\fR
124
command\-line client\&. See
125
Section\ \&4.2.3.1, \(lqUsing Options on the Command Line\(rq\&.
126
.if n \{\
127
.sp
128
.\}
129
.RS 4
130
.it 1 an-trap
131
.nr an-no-space-flag 1
132
.nr an-break-flag 1
133
.br
134
.ps +1
135
\fBNote\fR
136
.ps -1
137
.br
138
If the management client command to be passed using this option contains any space characters, then the command
139
\fImust\fR
140
be enclosed in quotation marks\&. Either single or double quotation marks may be used\&. If the management client command contains no space characters, the quotation marks are optional\&.
141
.sp .5v
142
.RE
143
.RE
75
144
.sp
76
145
.RS 4
77
146
.ie n \{\
84
153
\fB\-\-try\-reconnect=\fR\fB\fInumber\fR\fR
85
154
.TS
86
155
allbox tab(:);
87
l l s
88
l l s
89
^ l l
90
^ l l.
156
l l s s
157
l l s s
158
l l s s
159
^ l l s
160
^ l l s.
91
161
T{
92
\fBCommand Line Format\fR
162
\fBCommand\-Line Format\fR
93
163
T}:T{
94
164
\-\-try\-reconnect=#
95
165
T}
96
166
T{
167
T}:T{
168
\-t
169
T}
170
T{
97
171
\ \&
98
172
T}:T{
99
173
\fBPermitted Values \fR
118
192
Additional information about using
119
193
\fBndb_mgm\fR
120
194
can be found in
121
Section\ \&17.5.2, \(lqCommands in the MySQL Cluster Management Client\(rq\&.
195
Section\ \&16.5.2, \(lqCommands in the MySQL Cluster Management Client\(rq\&.
122
196
.SH "COPYRIGHT"
123
197
.br
124
198
.PP
125
Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.
199
Copyright \(co 1997, 2011, Oracle and/or its affiliates. All rights reserved.
126
200
.PP
127
201
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
128
202
.PP
135
209
which may already be installed locally and which is also available