~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to man/ndb_mgm.1

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-21 15:31:05 UTC
  • mfrom: (1.1.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20100621153105-pbbz3t6nyrf9t2zq
Tags: upstream-5.1.48
ImportĀ upstreamĀ versionĀ 5.1.48

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
.\"     Title: \fBndb_mgm\fR
3
3
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5
 
.\"      Date: 05/06/2010
 
5
.\"      Date: 06/03/2010
6
6
.\"    Manual: MySQL Database System
7
7
.\"    Source: MySQL 5.1
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "\FBNDB_MGM\FR" "1" "05/06/2010" "MySQL 5\&.1" "MySQL Database System"
 
10
.TH "\FBNDB_MGM\FR" "1" "06/03/2010" "MySQL 5\&.1" "MySQL Database System"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * set default formatting
13
13
.\" -----------------------------------------------------------------
81
81
.sp -1
82
82
.IP \(bu 2.3
83
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
T{
 
92
\fBCommand\-Line Format\fR
 
93
T}:T{
 
94
\-\-execute=name
 
95
T}
 
96
.TE
 
97
.sp 1
 
98
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:
 
99
.sp
 
100
.if n \{\
 
101
.RS 4
 
102
.\}
 
103
.nf
 
104
shell> \fBndb_mgm \-e "SHOW"\fR
 
105
.fi
 
106
.if n \{\
 
107
.RE
 
108
.\}
 
109
.sp
 
110
or
 
111
.sp
 
112
.if n \{\
 
113
.RS 4
 
114
.\}
 
115
.nf
 
116
shell> \fBndb_mgm \-\-execute="SHOW"\fR
 
117
.fi
 
118
.if n \{\
 
119
.RE
 
120
.\}
 
121
.sp
 
122
is equivalent to
 
123
.sp
 
124
.if n \{\
 
125
.RS 4
 
126
.\}
 
127
.nf
 
128
ndb_mgm> \fBSHOW\fR
 
129
.fi
 
130
.if n \{\
 
131
.RE
 
132
.\}
 
133
.sp
 
134
This is analogous to how the
 
135
\fB\-\-execute\fR
 
136
or
 
137
\fB\-e\fR
 
138
option works with the
 
139
\fBmysql\fR
 
140
command\-line client\&. See
 
141
Section\ \&4.2.3.1, \(lqUsing Options on the Command Line\(rq\&.
 
142
.if n \{\
 
143
.sp
 
144
.\}
 
145
.RS 4
 
146
.it 1 an-trap
 
147
.nr an-no-space-flag 1
 
148
.nr an-break-flag 1
 
149
.br
 
150
.ps +1
 
151
\fBNote\fR
 
152
.ps -1
 
153
.br
 
154
If the management client command to be passed using this option contains any space characters, then the command
 
155
\fImust\fR
 
156
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\&.
 
157
.sp .5v
 
158
.RE
 
159
.RE
 
160
.sp
 
161
.RS 4
 
162
.ie n \{\
 
163
\h'-04'\(bu\h'+03'\c
 
164
.\}
 
165
.el \{\
 
166
.sp -1
 
167
.IP \(bu 2.3
 
168
.\}
84
169
\fB\-\-try\-reconnect=\fR\fB\fInumber\fR\fR
85
170
.TS
86
171
allbox tab(:);
87
 
l l s
88
 
l l s
89
 
^ l l
90
 
^ l l.
 
172
l l s s
 
173
l l s s
 
174
^ l l s
 
175
^ l l s.
91
176
T{
92
177
\fBCommand\-Line Format\fR
93
178
T}:T{