1
by James Page
Import upstream version 5.6.15 |
1 |
'\" t
|
2 |
.\" Title: \fBcomp_err\fR |
|
3 |
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] |
|
4 |
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> |
|
1.2.6
by Marc Deslauriers
Import upstream version 5.6.25 |
5 |
.\" Date: 05/05/2015 |
1
by James Page
Import upstream version 5.6.15 |
6 |
.\" Manual: MySQL Database System |
7 |
.\" Source: MySQL 5.6 |
|
8 |
.\" Language: English |
|
9 |
.\" |
|
1.2.6
by Marc Deslauriers
Import upstream version 5.6.25 |
10 |
.TH "\FBCOMP_ERR\FR" "1" "05/05/2015" "MySQL 5\&.6" "MySQL Database System" |
1
by James Page
Import upstream version 5.6.15 |
11 |
.\" ----------------------------------------------------------------- |
12 |
.\" * Define some portability stuff |
|
13 |
.\" ----------------------------------------------------------------- |
|
14 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
15 |
.\" http://bugs.debian.org/507673 |
|
16 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
|
17 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
18 |
.ie \n(.g .ds Aq \(aq |
|
19 |
.el .ds Aq ' |
|
20 |
.\" ----------------------------------------------------------------- |
|
21 |
.\" * set default formatting |
|
22 |
.\" ----------------------------------------------------------------- |
|
23 |
.\" disable hyphenation |
|
24 |
.nh
|
|
25 |
.\" disable justification (adjust text to left margin only) |
|
26 |
.ad l |
|
27 |
.\" ----------------------------------------------------------------- |
|
28 |
.\" * MAIN CONTENT STARTS HERE * |
|
29 |
.\" ----------------------------------------------------------------- |
|
30 |
.\" comp_err |
|
31 |
.SH "NAME" |
|
32 |
comp_err \- compile MySQL error message file
|
|
33 |
.SH "SYNOPSIS" |
|
34 |
.HP \w'\fBcomp_err\ [\fR\fB\fIoptions\fR\fR\fB]\fR\ 'u |
|
35 |
\fBcomp_err [\fR\fB\fIoptions\fR\fR\fB]\fR |
|
36 |
.SH "DESCRIPTION" |
|
37 |
.PP
|
|
38 |
\fBcomp_err\fR |
|
39 |
creates the |
|
40 |
errmsg\&.sys
|
|
41 |
file that is used by |
|
42 |
\fBmysqld\fR |
|
43 |
to determine the error messages to display for different error codes\&.
|
|
44 |
\fBcomp_err\fR |
|
45 |
normally is run automatically when MySQL is built\&. It compiles the
|
|
46 |
errmsg\&.sys
|
|
1.2.6
by Marc Deslauriers
Import upstream version 5.6.25 |
47 |
file from the text file located at |
1
by James Page
Import upstream version 5.6.15 |
48 |
sql/share/errmsg\&.txt
|
49 |
in MySQL source distributions\&.
|
|
50 |
.PP
|
|
51 |
\fBcomp_err\fR |
|
52 |
also generates |
|
53 |
mysqld_error\&.h,
|
|
54 |
mysqld_ername\&.h, and
|
|
55 |
sql_state\&.h
|
|
56 |
header files\&.
|
|
57 |
.PP
|
|
58 |
For more information about how error messages are defined, see the |
|
59 |
\m[blue]\fBMySQL Internals Manual\fR\m[]\&\s-2\u[1]\d\s+2\&. |
|
60 |
.PP
|
|
61 |
Invoke |
|
62 |
\fBcomp_err\fR |
|
63 |
like this: |
|
64 |
.sp
|
|
65 |
.if n \{\ |
|
66 |
.RS 4 |
|
67 |
.\}
|
|
68 |
.nf
|
|
69 |
shell> \fBcomp_err [\fR\fB\fIoptions\fR\fR\fB]\fR |
|
70 |
.fi
|
|
71 |
.if n \{\ |
|
72 |
.RE
|
|
73 |
.\}
|
|
74 |
.PP
|
|
75 |
\fBcomp_err\fR |
|
76 |
supports the following options\&.
|
|
77 |
.sp
|
|
78 |
.RS 4 |
|
79 |
.ie n \{\ |
|
80 |
\h'-04'\(bu\h'+03'\c |
|
81 |
.\}
|
|
82 |
.el \{\ |
|
83 |
.sp -1 |
|
84 |
.IP \(bu 2.3 |
|
85 |
.\} |
|
1.2.1
by James Page
Import upstream version 5.6.16 |
86 |
.\" comp_err: help option |
87 |
.\" help option: comp_err |
|
88 |
\fB\-\-help\fR, |
|
1
by James Page
Import upstream version 5.6.15 |
89 |
\fB\-?\fR |
90 |
.sp
|
|
91 |
Display a help message and exit\&.
|
|
92 |
.RE
|
|
93 |
.sp
|
|
94 |
.RS 4 |
|
95 |
.ie n \{\ |
|
96 |
\h'-04'\(bu\h'+03'\c |
|
97 |
.\}
|
|
98 |
.el \{\ |
|
99 |
.sp -1 |
|
100 |
.IP \(bu 2.3 |
|
101 |
.\} |
|
1.2.1
by James Page
Import upstream version 5.6.16 |
102 |
.\" comp_err: charset option |
103 |
.\" charset option: comp_err |
|
104 |
\fB\-\-charset=\fR\fB\fIpath\fR\fR, |
|
1
by James Page
Import upstream version 5.6.15 |
105 |
\fB\-C \fR\fB\fIpath\fR\fR |
106 |
.sp
|
|
107 |
The character set directory\&. The default is
|
|
108 |
\&.\&./sql/share/charsets\&. |
|
109 |
.RE
|
|
110 |
.sp
|
|
111 |
.RS 4 |
|
112 |
.ie n \{\ |
|
113 |
\h'-04'\(bu\h'+03'\c |
|
114 |
.\}
|
|
115 |
.el \{\ |
|
116 |
.sp -1 |
|
117 |
.IP \(bu 2.3 |
|
118 |
.\} |
|
1.2.1
by James Page
Import upstream version 5.6.16 |
119 |
.\" comp_err: debug option |
120 |
.\" debug option: comp_err |
|
121 |
\fB\-\-debug=\fR\fB\fIdebug_options\fR\fR, |
|
1
by James Page
Import upstream version 5.6.15 |
122 |
\fB\-# \fR\fB\fIdebug_options\fR\fR |
123 |
.sp
|
|
124 |
Write a debugging log\&. A typical
|
|
125 |
\fIdebug_options\fR |
|
126 |
string is |
|
1.2.2
by James Page
Import upstream version 5.6.17 |
127 |
d:t:O,\fIfile_name\fR\&. The default is |
128 |
d:t:O,/tmp/comp_err\&.trace\&. |
|
1
by James Page
Import upstream version 5.6.15 |
129 |
.RE
|
130 |
.sp
|
|
131 |
.RS 4 |
|
132 |
.ie n \{\ |
|
133 |
\h'-04'\(bu\h'+03'\c |
|
134 |
.\}
|
|
135 |
.el \{\ |
|
136 |
.sp -1 |
|
137 |
.IP \(bu 2.3 |
|
138 |
.\} |
|
1.2.1
by James Page
Import upstream version 5.6.16 |
139 |
.\" comp_err: debug-info option |
140 |
.\" debug-info option: comp_err |
|
141 |
\fB\-\-debug\-info\fR, |
|
1
by James Page
Import upstream version 5.6.15 |
142 |
\fB\-T\fR |
143 |
.sp
|
|
144 |
Print some debugging information when the program exits\&.
|
|
145 |
.RE
|
|
146 |
.sp
|
|
147 |
.RS 4 |
|
148 |
.ie n \{\ |
|
149 |
\h'-04'\(bu\h'+03'\c |
|
150 |
.\}
|
|
151 |
.el \{\ |
|
152 |
.sp -1 |
|
153 |
.IP \(bu 2.3 |
|
154 |
.\} |
|
1.2.1
by James Page
Import upstream version 5.6.16 |
155 |
.\" comp_err: header_file option |
156 |
.\" header_file option: comp_err |
|
157 |
\fB\-\-header_file=\fR\fB\fIfile_name\fR\fR, |
|
1
by James Page
Import upstream version 5.6.15 |
158 |
\fB\-H \fR\fB\fIfile_name\fR\fR |
159 |
.sp
|
|
160 |
The name of the error header file\&. The default is
|
|
161 |
mysqld_error\&.h\&. |
|
162 |
.RE
|
|
163 |
.sp
|
|
164 |
.RS 4 |
|
165 |
.ie n \{\ |
|
166 |
\h'-04'\(bu\h'+03'\c |
|
167 |
.\}
|
|
168 |
.el \{\ |
|
169 |
.sp -1 |
|
170 |
.IP \(bu 2.3 |
|
171 |
.\} |
|
1.2.1
by James Page
Import upstream version 5.6.16 |
172 |
.\" comp_err: in_file option |
173 |
.\" in_file option: comp_err |
|
174 |
\fB\-\-in_file=\fR\fB\fIfile_name\fR\fR, |
|
1
by James Page
Import upstream version 5.6.15 |
175 |
\fB\-F \fR\fB\fIfile_name\fR\fR |
176 |
.sp
|
|
177 |
The name of the input file\&. The default is
|
|
178 |
\&.\&./sql/share/errmsg\&.txt\&. |
|
179 |
.RE
|
|
180 |
.sp
|
|
181 |
.RS 4 |
|
182 |
.ie n \{\ |
|
183 |
\h'-04'\(bu\h'+03'\c |
|
184 |
.\}
|
|
185 |
.el \{\ |
|
186 |
.sp -1 |
|
187 |
.IP \(bu 2.3 |
|
188 |
.\} |
|
1.2.1
by James Page
Import upstream version 5.6.16 |
189 |
.\" comp_err: name_file option |
190 |
.\" name_file option: comp_err |
|
191 |
\fB\-\-name_file=\fR\fB\fIfile_name\fR\fR, |
|
1
by James Page
Import upstream version 5.6.15 |
192 |
\fB\-N \fR\fB\fIfile_name\fR\fR |
193 |
.sp
|
|
194 |
The name of the error name file\&. The default is
|
|
195 |
mysqld_ername\&.h\&. |
|
196 |
.RE
|
|
197 |
.sp
|
|
198 |
.RS 4 |
|
199 |
.ie n \{\ |
|
200 |
\h'-04'\(bu\h'+03'\c |
|
201 |
.\}
|
|
202 |
.el \{\ |
|
203 |
.sp -1 |
|
204 |
.IP \(bu 2.3 |
|
205 |
.\} |
|
1.2.1
by James Page
Import upstream version 5.6.16 |
206 |
.\" comp_err: out_dir option |
207 |
.\" out_dir option: comp_err |
|
208 |
\fB\-\-out_dir=\fR\fB\fIpath\fR\fR, |
|
1
by James Page
Import upstream version 5.6.15 |
209 |
\fB\-D \fR\fB\fIpath\fR\fR |
210 |
.sp
|
|
211 |
The name of the output base directory\&. The default is
|
|
212 |
\&.\&./sql/share/\&. |
|
213 |
.RE
|
|
214 |
.sp
|
|
215 |
.RS 4 |
|
216 |
.ie n \{\ |
|
217 |
\h'-04'\(bu\h'+03'\c |
|
218 |
.\}
|
|
219 |
.el \{\ |
|
220 |
.sp -1 |
|
221 |
.IP \(bu 2.3 |
|
222 |
.\} |
|
1.2.1
by James Page
Import upstream version 5.6.16 |
223 |
.\" comp_err: out_file option |
224 |
.\" out_file option: comp_err |
|
225 |
\fB\-\-out_file=\fR\fB\fIfile_name\fR\fR, |
|
1
by James Page
Import upstream version 5.6.15 |
226 |
\fB\-O \fR\fB\fIfile_name\fR\fR |
227 |
.sp
|
|
228 |
The name of the output file\&. The default is
|
|
229 |
errmsg\&.sys\&. |
|
230 |
.RE
|
|
231 |
.sp
|
|
232 |
.RS 4 |
|
233 |
.ie n \{\ |
|
234 |
\h'-04'\(bu\h'+03'\c |
|
235 |
.\}
|
|
236 |
.el \{\ |
|
237 |
.sp -1 |
|
238 |
.IP \(bu 2.3 |
|
239 |
.\} |
|
1.2.1
by James Page
Import upstream version 5.6.16 |
240 |
.\" comp_err: statefile option |
241 |
.\" statefile option: comp_err |
|
242 |
\fB\-\-statefile=\fR\fB\fIfile_name\fR\fR, |
|
1
by James Page
Import upstream version 5.6.15 |
243 |
\fB\-S \fR\fB\fIfile_name\fR\fR |
244 |
.sp
|
|
245 |
The name for the SQLSTATE header file\&. The default is
|
|
246 |
sql_state\&.h\&. |
|
247 |
.RE
|
|
248 |
.sp
|
|
249 |
.RS 4 |
|
250 |
.ie n \{\ |
|
251 |
\h'-04'\(bu\h'+03'\c |
|
252 |
.\}
|
|
253 |
.el \{\ |
|
254 |
.sp -1 |
|
255 |
.IP \(bu 2.3 |
|
256 |
.\} |
|
1.2.1
by James Page
Import upstream version 5.6.16 |
257 |
.\" comp_err: version option |
258 |
.\" version option: comp_err |
|
259 |
\fB\-\-version\fR, |
|
1
by James Page
Import upstream version 5.6.15 |
260 |
\fB\-V\fR |
261 |
.sp
|
|
262 |
Display version information and exit\&.
|
|
263 |
.RE
|
|
264 |
.SH "COPYRIGHT" |
|
265 |
.br
|
|
266 |
.PP
|
|
1.2.4
by Robie Basak
Import upstream version 5.6.23 |
267 |
Copyright \(co 1997, 2015, Oracle and/or its affiliates. All rights reserved.
|
1
by James Page
Import upstream version 5.6.15 |
268 |
.PP
|
269 |
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. |
|
270 |
.PP
|
|
271 |
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
|
272 |
.PP
|
|
273 |
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. |
|
274 |
.sp
|
|
275 |
.SH "NOTES" |
|
276 |
.IP " 1." 4 |
|
277 |
MySQL Internals Manual |
|
278 |
.RS 4 |
|
279 |
\%http://dev.mysql.com/doc/internals/en
|
|
280 |
.RE
|
|
281 |
.SH "SEE ALSO" |
|
282 |
For more information, please refer to the MySQL Reference Manual, |
|
283 |
which may already be installed locally and which is also available |
|
284 |
online at http://dev.mysql.com/doc/. |
|
285 |
.SH AUTHOR |
|
286 |
Oracle Corporation (http://dev.mysql.com/). |